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.
3 4 5 6 7 |
# File 'lib/objects/registry/arguments/command_line.rb', line 3 def initialize(arguments, defaults) @arguments = arguments ? arguments : [] @processed_arguments = {} super end |
Instance Method Details
#arguments_to_merge ⇒ Object
14 15 16 |
# File 'lib/objects/registry/arguments/command_line.rb', line 14 def arguments_to_merge @processed_arguments end |
#do_process ⇒ Object
9 10 11 12 |
# File 'lib/objects/registry/arguments/command_line.rb', line 9 def do_process parse_arguments super end |