module Test::Unit::Attribute
Public Class Methods
Source
# File bundled-src/test-unit-3.7.5/lib/test/unit/attribute.rb, line 25 def included(base) base.extend(BaseClassMethods) base.extend(ClassMethods) end
Public Instance Methods
Source
# File bundled-src/test-unit-3.7.5/lib/test/unit/attribute.rb, line 223 def [](name) self.class.find_attribute(@method_name, name) end
Source
# File bundled-src/test-unit-3.7.5/lib/test/unit/attribute.rb, line 219 def attributes self.class.attributes(@method_name) || StringifyKeyHash.new end