Method: FlexMock.format_call

Defined in:
lib/flexmock/core_class_methods.rb

.format_call(sym, args, kw) ⇒ Object

Class method to format a method name and argument list as a nice looking string.



81
82
83
# File 'lib/flexmock/core_class_methods.rb', line 81

def format_call(sym, args, kw)  # :nodoc:
  "#{sym}(#{format_args(args, kw)})"
end