module MethodSource::ReeSourceLocation

Public Instance Methods

source_location() click to toggle source

Ruby enterprise edition provides all the information that's needed, in a slightly different way.

# File lib/method_source/source_location.rb, line 5
def source_location
  [__file__, __line__] rescue nil
end