Class
EnumeratedAttribute::Attribute::AttributeDescriptor
In:
lib/enumerated_attribute/attribute/attribute_descriptor.rb
Parent:
Array
Methods
allows_nil?
allows_value?
enums
hash
label
labels
new
reset_labels
select_options
set_label
Attributes
init_value
[RW]
name
[R]
Public Class methods
new
(name, enums=[], opts={})
Public Instance methods
allows_nil?
()
allows_value?
(value)
enums
()
hash
()
label
(value)
labels
()
select_options
()
set_label
(enum_value, label_string)
Protected Instance methods
reset_labels
()
[Validate]