Class: Struct::Field
- Defined in:
- lib/degu/renum/enumerated_value.rb
Overview
This class encapsulates an enum field (аctually a method with arity == 0).
Direct Known Subclasses
Instance Attribute Summary collapse
-
#block ⇒ Object
Returns the value of attribute block.
-
#name ⇒ Object
Returns the value of attribute name.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Attribute Details
#block ⇒ Object
Returns the value of attribute block
56 57 58 |
# File 'lib/degu/renum/enumerated_value.rb', line 56 def block @block end |
#name ⇒ Object
Returns the value of attribute name
56 57 58 |
# File 'lib/degu/renum/enumerated_value.rb', line 56 def name @name end |
#options ⇒ Object
Returns the value of attribute options
56 57 58 |
# File 'lib/degu/renum/enumerated_value.rb', line 56 def @options end |