Class: ConfigTable::SelectItem
Instance Attribute Summary
Attributes inherited from Item
Instance Method Summary collapse
- #config_type ⇒ Object
-
#initialize(name, selection, default, desc) ⇒ SelectItem
constructor
A new instance of SelectItem.
Methods inherited from Item
#help_opt, #resolve, #set, #value, #value?
Constructor Details
#initialize(name, selection, default, desc) ⇒ SelectItem
Returns a new instance of SelectItem.
403 404 405 406 |
# File 'lib/vendor/xmpp4r/setup.rb', line 403 def initialize(name, selection, default, desc) super @ok = selection.split('/') end |
Instance Method Details
#config_type ⇒ Object
408 409 410 |
# File 'lib/vendor/xmpp4r/setup.rb', line 408 def config_type 'select' end |