Class: EacCli::Config::Entry

Inherits:
Object
  • 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

#valueObject



20
21
22
23
24
25
26
27
# 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?

  puts "|#{sub_entry.path}|"

  input_value
end