Sha256: 91709cb9ae5e8b473c95d567c3e64a88620846bea685d6de3817fb258a1a0669

Contents?: true

Size: 158 Bytes

Versions: 6

Compression:

Stored size: 158 Bytes

Contents

module ActiveMocker
  class HashNewStyle < Hash
    def inspect
      '{ ' + self.map { |name, type| "#{name}: #{type}" }.join(', ') + ' }'
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
active_mocker-2.1.3 lib/active_mocker/hash_new_style.rb
active_mocker-2.1.2 lib/active_mocker/hash_new_style.rb
active_mocker-2.1.1 lib/active_mocker/hash_new_style.rb
active_mocker-2.1.0 lib/active_mocker/hash_new_style.rb
active_mocker-2.0.0 lib/active_mocker/hash_new_style.rb
active_mocker-2.0.0.rc1 lib/active_mocker/hash_new_style.rb