Module: Aspera::Cli::Allowed
- Defined in:
- lib/aspera/cli/manager.rb
Overview
Constants to be used as parameter allowed: for OptionValue
Constant Summary collapse
- TYPES_STRING_ARRAY =
This option can be set to a single string or array, multiple times, and gives Array of String
[Array, String].freeze
- TYPES_SYMBOL_ARRAY =
A list of symbols with constrained values
[Array, Symbol].freeze
- TYPES_INTEGER =
Value will be coerced to int
[Integer].freeze
- TYPES_BOOLEAN =
[FalseClass, TrueClass].freeze
- TYPES_NONE =
no value at all, it’s a switch
[].freeze
- TYPES_ENUM =
[Symbol].freeze
- TYPES_STRING =
[String].freeze