Module: CLIConfig::InstanceMethods
- Defined in:
- lib/cli_config.rb
Instance Method Summary collapse
Instance Method Details
#override_from_option_parser(option_parser) ⇒ Object
27 28 29 30 31 32 33 |
# File 'lib/cli_config.rb', line 27 def override_from_option_parser(option_parser) attribute_set.each do |attribute| attribute.from_option_parser(option_parser) do |value| send(:"#{attribute.name}=", value) end end end |