Module: MethodSource::ReeSourceLocation

Included in:
SourceLocation::MethodExtensions, SourceLocation::ProcExtensions, SourceLocation::UnboundMethodExtensions
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/method_source-1.0.0/lib/method_source/source_location.rb

Instance Method Summary collapse

Instance Method Details

#source_locationObject

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



5
6
7
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/method_source-1.0.0/lib/method_source/source_location.rb', line 5

def source_location
  [__file__, __line__] rescue nil
end