module Hashie::Utils

def self.method_information(bound_method)

Returns:
  • (String) -

Parameters:
  • bound_method (Method) -- The method to describe.
def self.method_information(bound_method)
  if bound_method.source_location
    "defined at #{bound_method.source_location.join(':')}"
  else
    "defined in #{bound_method.owner}"
  end
end