Class: OptProc::OptionSet

Inherits:
Ragol::OptionSet show all
Includes:
Logue::Loggable
Defined in:
lib/ragol/optproc/optset.rb

Instance Attribute Summary

Attributes inherited from Ragol::OptionSet

#options

Instance Method Summary collapse

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