module MethodSource::ReeSourceLocation
Public Instance Methods
Source
# File lib/method_source/source_location.rb, line 5 def source_location [__file__, __line__] rescue nil end
Ruby enterprise edition provides all the information that’s needed, in a slightly different way.