Class: Bcome::Registry::Arguments::CommandLine
- Inherits:
-
Base
- Object
- Base
- Bcome::Registry::Arguments::CommandLine
show all
- 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
Methods inherited from Base
process
Constructor Details
#initialize(arguments, defaults) ⇒ 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
|