Method: MethodSource::ReeSourceLocation#source_location
- Defined in:
- lib/method_source/source_location.rb
#source_location ⇒ Object
Ruby enterprise edition provides all the information that's needed, in a slightly different way.
5 6 7 |
# File 'lib/method_source/source_location.rb', line 5 def source_location [__file__, __line__] rescue nil end |