Class: ActiveMocker::HashNewStyle

Inherits:
Hash
  • Object
show all
Defined in:
lib/active_mocker/hash_new_style.rb

Instance Method Summary collapse

Instance Method Details

#inspectObject



3
4
5
# File 'lib/active_mocker/hash_new_style.rb', line 3

def inspect
  '{ ' + self.map { |name, type| "#{name}: #{type}" }.join(', ') + ' }'
end