Class: ActiveMocker::HashNewStyle
- Inherits:
-
Hash
- Object
- Hash
- ActiveMocker::HashNewStyle
- Defined in:
- lib/active_mocker/hash_new_style.rb
Instance Method Summary collapse
Instance Method Details
#inspect ⇒ Object
4 5 6 |
# File 'lib/active_mocker/hash_new_style.rb', line 4 def inspect "{ " + map { |name, type| "#{name}: #{type}" }.join(", ") + " }" end |