class Af::OptionParser::Option
Constants
- FACTORY_SETTABLES
Attributes
long_name[RW]
Public Class Methods
new(long_name, parameters = {})
click to toggle source
Calls superclass method
Af::OptionParser::InstanceVariableSetter::new
# File lib/fiksu-af/option_parser/option.rb, line 17 def initialize(long_name, parameters = {}) super(parameters) @long_name = long_name end
Public Instance Methods
error(text)
click to toggle source
# File lib/fiksu-af/option_parser/option.rb, line 34 def error(text) puts "ERROR: #{self.long_name}: #{text} (--? for help)" exit 1 end
merge(that_option)
click to toggle source
Calls superclass method
Af::OptionParser::InstanceVariableSetter#merge
# File lib/fiksu-af/option_parser/option.rb, line 30 def merge(that_option) super(that_option, FACTORY_SETTABLES) end
set_instance_variables(parameters = {})
click to toggle source
+++++++++++++++++++++++
Calls superclass method
Af::OptionParser::InstanceVariableSetter#set_instance_variables
# File lib/fiksu-af/option_parser/option.rb, line 26 def set_instance_variables(parameters = {}) super(parameters, FACTORY_SETTABLES) end