Class: Bcome::Registry::Arguments::CommandLine
- Defined in:
- lib/objects/registry/arguments/command_line.rb
Instance Attribute Summary
Attributes inherited from Base
#arguments, #defaults, #merged_arguments, #processed_arguments
Instance Method Summary collapse
- #arguments_to_merge ⇒ Object
- #do_process ⇒ Object
-
#initialize(arguments, defaults) ⇒ CommandLine
constructor
A new instance of CommandLine.
Methods inherited from Base
Constructor Details
#initialize(arguments, defaults) ⇒ CommandLine
Returns a new instance of CommandLine.
5 6 7 8 9 |
# File 'lib/objects/registry/arguments/command_line.rb', line 5 def initialize(arguments, defaults) @arguments = arguments || [] @processed_arguments = {} super end |
Instance Method Details
#arguments_to_merge ⇒ Object
16 17 18 |
# File 'lib/objects/registry/arguments/command_line.rb', line 16 def arguments_to_merge @processed_arguments end |
#do_process ⇒ Object
11 12 13 14 |
# File 'lib/objects/registry/arguments/command_line.rb', line 11 def do_process parse_arguments super end |