class Bogus::MakesSubstituteMethods

Public Instance Methods

stringify(method) click to toggle source
# File lib/bogus/fakes/makes_substitute_methods.rb, line 7
def stringify(method)
  args = method_stringifier.argument_values(method.parameters)

  send_args = [method.name.inspect, args].reject(&:empty?).join(', ')

  method_stringifier.stringify(method, "__record__(#{send_args})")
end