Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

ruby/rails file get line number

## Like in PHP
## To get line number
__LINE__

## To get file name
__FILE__
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #file #line #number
ADD COMMENT
Topic
Name
1+6 =