Class/Module Index [+]

Quicksearch

Test::Unit::Attribute

Public Class Methods

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

Public Instance Methods

[](name) click to toggle source
# File lib/test/unit/attribute.rb, line 120
def [](name)
  self.class.get_attribute(@method_name, name)
end
attributes() click to toggle source
# File lib/test/unit/attribute.rb, line 116
def attributes
  self.class.attributes(@method_name) || {}
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.