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



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

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