# File lib/test/unit/attribute.rb, line 93 def attributes(method_name) attributes = attributes_table[method_name] ancestors[1..-1].each do |ancestor| if ancestor.is_a?(Class) and ancestor < Test::Unit::Attribute parent_attributes = ancestor.attributes(method_name) if attributes attributes = (parent_attributes || {}).merge(attributes) else attributes = parent_attributes end break end end attributes || StringifyKeyHash.new end