module MethodSource::SourceLocation::UnboundMethodExtensions

Public Instance Methods

source_location() click to toggle source

JRuby version #source_location hack @return [Array] A two element array containing the source location of the method

# File lib/method_source/source_location.rb, line 90
def source_location
  to_java.source_location(Thread.current.to_java.getContext())
end