module MethodSource::SourceLocation::ProcExtensions
Public Instance Methods
Source
# File lib/method_source/source_location.rb, line 64 def source_location [block.file.to_s, block.line] end
Return the source location for a Proc
(Rubinius only) @return [Array] A two element array. First element is the
file, second element is the line in the file where the proc definition is found.