In Files

  • test-unit-3.3.7/lib/test/unit/attribute.rb

Parent

Class/Module Index [+]

Quicksearch

Test::Unit::Attribute::StringifyKeyHash

Public Class Methods

stringify(object) click to toggle source
 
               # File test-unit-3.3.7/lib/test/unit/attribute.rb, line 6
def stringify(object)
  object.to_s
end
            

Public Instance Methods

[](key) click to toggle source
 
               # File test-unit-3.3.7/lib/test/unit/attribute.rb, line 15
def [](key)
  super(self.class.stringify(key))
end
            
[]=(key, value) click to toggle source
 
               # File test-unit-3.3.7/lib/test/unit/attribute.rb, line 19
def []=(key, value)
  super(self.class.stringify(key), value)
end
            
key?(key) click to toggle source
 
               # File test-unit-3.3.7/lib/test/unit/attribute.rb, line 11
def key?(key)
  super(self.class.stringify(key))
end