Class: EnumType
Direct Known Subclasses
Instance Attribute Summary collapse
-
#values ⇒ Object
readonly
Returns the value of attribute values.
Instance Method Summary collapse
-
#initialize(*args) ⇒ EnumType
constructor
A new instance of EnumType.
Constructor Details
#initialize(*args) ⇒ EnumType
Returns a new instance of EnumType.
130 131 132 133 134 135 136 |
# File 'ext/ae-rad/ae-rad-libs.rb', line 130 def initialize(*args) if args.class == Array @values = *args else @values = [*args] end end |
Instance Attribute Details
#values ⇒ Object (readonly)
Returns the value of attribute values.
129 130 131 |
# File 'ext/ae-rad/ae-rad-libs.rb', line 129 def values @values end |