Class: ConfigTable::SelectItem
- Defined in:
- lib/gems/xmpp4r-0.4/setup.rb
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/gems/xmpp4r-0.4/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/gems/xmpp4r-0.4/setup.rb', line 408 def config_type 'select' end |