Class: EacCli::OldConfigs::ReadEntryOptions
- Defined in:
- lib/eac_cli/old_configs/read_entry_options.rb
Constant Summary collapse
- DEFAULT_VALUES =
{ before_input: nil, bool: false, list: false, noecho: false, noenv: false, noinput: false, required: true, store: true, validator: nil }.freeze
Instance Method Summary collapse
Instance Method Details
#[](key) ⇒ Object
21 22 23 |
# File 'lib/eac_cli/old_configs/read_entry_options.rb', line 21 def [](key) values.fetch(key.to_sym) end |
#request_input_options ⇒ Object
25 26 27 |
# File 'lib/eac_cli/old_configs/read_entry_options.rb', line 25 def values.slice(:bool, :list, :noecho) end |