enum
   Athena::Console::Input::Option::Value
    
  Overview
Represents the possible vale types of an ACON::Input::Option.
Value modes can also be combined using the Enum.[] macro.
For example, ACON::Input::Option::Value[:required, :is_array] which defines a required array option.
Defined in:
input/option.crEnum Members
- 
        NONE = 
0 - 
        
Represents a boolean flag option that will be
trueif provided, otherwisefalse. E.g.--yell. - 
        REQUIRED = 
1 - 
        
Represents an option that MUST have a value if provided. The option itself is still optional. E.g.
--dir=src. - 
        OPTIONAL = 
2 - 
        
Represents an option that MAY have a value, but it is not a requirement. E.g.
--yellor--yell=loud.When using the option value mode, it can be hard to distinguish between passing an option without a value and not passing it at all. In this case you should set the default of the option to
false, instead of the default ofnil. Then you would be able to tell it wasn't passed by the value beingfalse, passed without a value asnil, and passed with a value.NOTE In this context you will need to work with the raw
String?representation of the value due to the union of types the value could be. - 
        IS_ARRAY = 
4 - 
        
Represents an option that can be provided multiple times to produce an array of values. E.g.
--dir=/foo --dir=/bar. - 
        NEGATABLE = 
8 - 
        
Similar to
NONE, but also accepts its negation. E.g.--yellor--no-yell. - 
        None = 
0 - 
        All = 
15 
Instance Method Summary
- #accepts_value? : Bool
 - 
        #is_array?
        
          
Returns
trueif this enum value containsIS_ARRAY - 
        #negatable?
        
          
Returns
trueif this enum value containsNEGATABLE - 
        #none?
        
          
Returns
trueif this enum value containsNONE - 
        #optional?
        
          
Returns
trueif this enum value containsOPTIONAL - 
        #required?
        
          
Returns
trueif this enum value containsREQUIRED