Class: Mutineer::ConfigOption Private
- Inherits:
-
Struct
- Object
- Struct
- Mutineer::ConfigOption
- Defined in:
- lib/mutineer/config.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
One row of the option schema: how a Config field is parsed and where the
user can set it. yaml_key is nil for CLI-only options; flag is nil for
YAML-only ones. values/aliases apply to the :enum type.
Instance Attribute Summary collapse
-
#aliases ⇒ Object
Returns the value of attribute aliases.
-
#field ⇒ Object
Returns the value of attribute field.
-
#flag ⇒ Object
Returns the value of attribute flag.
-
#type ⇒ Object
Returns the value of attribute type.
-
#values ⇒ Object
Returns the value of attribute values.
-
#yaml_key ⇒ Object
Returns the value of attribute yaml_key.
Instance Attribute Details
#aliases ⇒ Object
Returns the value of attribute aliases
16 17 18 |
# File 'lib/mutineer/config.rb', line 16 def aliases @aliases end |
#field ⇒ Object
Returns the value of attribute field
16 17 18 |
# File 'lib/mutineer/config.rb', line 16 def field @field end |
#flag ⇒ Object
Returns the value of attribute flag
16 17 18 |
# File 'lib/mutineer/config.rb', line 16 def flag @flag end |
#type ⇒ Object
Returns the value of attribute type
16 17 18 |
# File 'lib/mutineer/config.rb', line 16 def type @type end |
#values ⇒ Object
Returns the value of attribute values
16 17 18 |
# File 'lib/mutineer/config.rb', line 16 def values @values end |
#yaml_key ⇒ Object
Returns the value of attribute yaml_key
16 17 18 |
# File 'lib/mutineer/config.rb', line 16 def yaml_key @yaml_key end |