Module: Mocha::HashMethods
- Included in:
- Hash
- Defined in:
- lib/mocha/inspect.rb
Instance Method Summary collapse
Instance Method Details
#mocha_inspect ⇒ Object
26 27 28 |
# File 'lib/mocha/inspect.rb', line 26 def mocha_inspect "{#{collect { |key, value| "#{key.mocha_inspect} => #{value.mocha_inspect}" }.join(', ')}}" end |