Module: MethodSource::SourceLocation::MethodExtensions
- Included in:
- Method
- Defined in:
- lib/method_source/source_location.rb
Instance Method Summary collapse
-
#source_location ⇒ Array
Return the source location of a method for Ruby 1.8.
Instance Method Details
#source_location ⇒ Array
Return the source location of a method for Ruby 1.8.
9 10 11 |
# File 'lib/method_source/source_location.rb', line 9 def source_location to_java.source_location(Thread.current.to_java.getContext()) end |