class Test::Unit::Attribute::StringifyKeyHash
Public Class Methods
stringify(object)
click to toggle source
# File test-unit-3.6.4/lib/test/unit/attribute.rb, line 6 def stringify(object) object.to_s end
Public Instance Methods
[](key)
click to toggle source
Calls superclass method
# File test-unit-3.6.4/lib/test/unit/attribute.rb, line 15 def [](key) super(self.class.stringify(key)) end
[]=(key, value)
click to toggle source
Calls superclass method
# File test-unit-3.6.4/lib/test/unit/attribute.rb, line 19 def []=(key, value) super(self.class.stringify(key), value) end
key?(key)
click to toggle source
Calls superclass method
# File test-unit-3.6.4/lib/test/unit/attribute.rb, line 11 def key?(key) super(self.class.stringify(key)) end