Class: Fontisan::Converters::ConversionStrategy::Option
- Inherits:
-
Struct
- Object
- Struct
- Fontisan::Converters::ConversionStrategy::Option
- Defined in:
- lib/fontisan/converters/conversion_strategy.rb
Overview
Declarative description of a single strategy option.
allowed_values is spelled out (not values) to avoid shadowing
Struct#values.
Instance Attribute Summary collapse
-
#allowed_values ⇒ Object
Returns the value of attribute allowed_values.
-
#cli ⇒ Object
Returns the value of attribute cli.
-
#default ⇒ Object
Returns the value of attribute default.
-
#desc ⇒ Object
Returns the value of attribute desc.
-
#name ⇒ Object
Returns the value of attribute name.
-
#range ⇒ Object
Returns the value of attribute range.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#allowed_values ⇒ Object
Returns the value of attribute allowed_values
45 46 47 |
# File 'lib/fontisan/converters/conversion_strategy.rb', line 45 def allowed_values @allowed_values end |
#cli ⇒ Object
Returns the value of attribute cli
45 46 47 |
# File 'lib/fontisan/converters/conversion_strategy.rb', line 45 def cli @cli end |
#default ⇒ Object
Returns the value of attribute default
45 46 47 |
# File 'lib/fontisan/converters/conversion_strategy.rb', line 45 def default @default end |
#desc ⇒ Object
Returns the value of attribute desc
45 46 47 |
# File 'lib/fontisan/converters/conversion_strategy.rb', line 45 def desc @desc end |
#name ⇒ Object
Returns the value of attribute name
45 46 47 |
# File 'lib/fontisan/converters/conversion_strategy.rb', line 45 def name @name end |
#range ⇒ Object
Returns the value of attribute range
45 46 47 |
# File 'lib/fontisan/converters/conversion_strategy.rb', line 45 def range @range end |
#type ⇒ Object
Returns the value of attribute type
45 46 47 |
# File 'lib/fontisan/converters/conversion_strategy.rb', line 45 def type @type end |