Class: Testy::Test::OrderedHash

Inherits:
OrderedHash
  • Object
show all
Defined in:
lib/testy.rb

Instance Method Summary collapse

Instance Method Details

#with_string_keysObject



13
14
15
16
17
# File 'lib/testy.rb', line 13

def with_string_keys
  oh = self.class.new
  each_pair{|key, val| oh[key.to_s] = val}
  oh
end