class HashWithIndifferentAccessTest::HashByConversion

Public Class Methods

new(hash) click to toggle source
# File activesupport/test/hash_with_indifferent_access_test.rb, line 31
def initialize(hash)
  @hash = hash
end

Public Instance Methods

to_hash() click to toggle source
# File activesupport/test/hash_with_indifferent_access_test.rb, line 35
def to_hash
  @hash
end