Sha256: 8c6bde1f1fd8037b893091c25a1534e5cb46853e59379eee1ecb0d1b08f5b72d

Contents?: true

Size: 371 Bytes

Versions: 9

Compression:

Stored size: 371 Bytes

Contents

require 'enumerated_attribute'

class Base
	enum_attr :base1, %w(^one two three four)
	enum_attr :inherited1, %w(^one two three four)
	enum_attr :inherited2, %w(^one two three four)
end

class Sub < Base
	enum_attr :sub1, %w(one ^two three four)
	enum_attr :inherited1, %w(one ^two three four)
	enum_attr :inherited2, %w(^five six seven eight)
end

class Sub2 < Base
end

Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
jeffp-enumerated_attribute-0.2.3 spec/inheritance_classes.rb
edave-enumerated_attribute-0.2.18 spec/inheritance_classes.rb
enumerated_attribute-0.2.16 spec/inheritance_classes.rb
enumerated_attribute-0.2.13 spec/inheritance_classes.rb
enumerated_attribute-0.2.12 spec/inheritance_classes.rb
enumerated_attribute-0.2.11 spec/inheritance_classes.rb
enumerated_attribute-0.2.10 spec/inheritance_classes.rb
enumerated_attribute-0.2.8 spec/inheritance_classes.rb
enumerated_attribute-0.2.7 spec/inheritance_classes.rb