Class: Manioc::Struct::Config
- Inherits:
-
Object
- Object
- Manioc::Struct::Config
- Defined in:
- lib/manioc/struct.rb
Instance Attribute Summary collapse
-
#defaults ⇒ Object
Returns the value of attribute defaults.
-
#fields ⇒ Object
Returns the value of attribute fields.
-
#mutable ⇒ Object
Returns the value of attribute mutable.
Instance Method Summary collapse
Instance Attribute Details
#defaults ⇒ Object
Returns the value of attribute defaults.
26 27 28 |
# File 'lib/manioc/struct.rb', line 26 def defaults @defaults end |
#fields ⇒ Object
Returns the value of attribute fields.
26 27 28 |
# File 'lib/manioc/struct.rb', line 26 def fields @fields end |
#mutable ⇒ Object
Returns the value of attribute mutable.
26 27 28 |
# File 'lib/manioc/struct.rb', line 26 def mutable @mutable end |
Instance Method Details
#immutable? ⇒ Boolean
29 |
# File 'lib/manioc/struct.rb', line 29 def immutable?; !mutable? end |
#mutable? ⇒ Boolean
28 |
# File 'lib/manioc/struct.rb', line 28 def mutable?; mutable end |