Method: MethodExtensions::MethodSourceWithDoc::MethodSourceRipper.source_from_source_location

Defined in:
lib/method_extensions/method/source_with_doc.rb

.source_from_source_location(source_location) ⇒ Object



193
194
195
196
# File 'lib/method_extensions/method/source_with_doc.rb', line 193

def self.source_from_source_location(source_location)
  return unless source_location
  new(*source_location).method_source
end