Class: OptProc::OptionSet
- Inherits:
-
Ragol::OptionSet
- Object
- Ragol::OptionSet
- OptProc::OptionSet
- Includes:
- Logue::Loggable
- Defined in:
- lib/ragol/optproc/optset.rb
Instance Attribute Summary
Attributes inherited from Ragol::OptionSet
Instance Method Summary collapse
-
#initialize(data) ⇒ OptionSet
constructor
A new instance of OptionSet.
-
#process_option(argslist) ⇒ Object
this is a legacy method; process should be used instead.
Methods inherited from Ragol::OptionSet
#<<, #add, #find_by_name, #find_matching_option, #get_best_match, has_option, #inspect, #name, options_for_class, #process, #read_rclines, #set_option, #unset
Constructor Details
#initialize(data) ⇒ OptionSet
Returns a new instance of OptionSet.
10 11 12 |
# File 'lib/ragol/optproc/optset.rb', line 10 def initialize data super :data => data end |
Instance Method Details
#process_option(argslist) ⇒ Object
this is a legacy method; process should be used instead.
15 16 17 |
# File 'lib/ragol/optproc/optset.rb', line 15 def process_option argslist set_option argslist end |