Module: MethodSource::SourceLocation::ProcExtensions
- Includes:
- ReeSourceLocation
- Included in:
- Proc
- 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
-
#source_location ⇒ Array
Return the source location for a Proc (in implementations without Proc#source_location).
Instance Method Details
#source_location ⇒ Array
Return the source location for a Proc (in implementations without Proc#source_location)
64 65 66 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/method_source-1.0.0/lib/method_source/source_location.rb', line 64 def source_location [block.file.to_s, block.line] end |