Class: EacCli::Config::Entry
- Inherits:
-
Object
show all
- Defined in:
- lib/eac_cli/config/entry.rb,
lib/eac_cli/config/entry/options.rb,
lib/eac_cli/config/entry/undefined.rb
Defined Under Namespace
Modules: Undefined
Classes: Options
Instance Method Summary
collapse
Instance Method Details
#secret_value ⇒ Object
27
28
29
|
# File 'lib/eac_cli/config/entry.rb', line 27
def secret_value
self.class.new(config, path, options.to_h.merge(noecho: true).to_h).value
end
|
20
21
22
23
24
25
|
# File 'lib/eac_cli/config/entry.rb', line 20
def value
return sub_value_to_return if sub_entry.found?
return nil unless options.required?
input_value
end
|