In Files

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

Class/Module Index [+]

Quicksearch

Test::Unit::Attribute

Public Class Methods

included(base) click to toggle source
 
               # File test-unit-3.3.7/lib/test/unit/attribute.rb, line 25
def included(base)
  base.extend(BaseClassMethods)
  base.extend(ClassMethods)
end
            

Public Instance Methods

[](name) click to toggle source
 
               # File test-unit-3.3.7/lib/test/unit/attribute.rb, line 222
def [](name)
  self.class.find_attribute(@method_name, name)
end
            
attributes() click to toggle source
 
               # File test-unit-3.3.7/lib/test/unit/attribute.rb, line 218
def attributes
  self.class.attributes(@method_name) || StringifyKeyHash.new
end