Class: ConfigTable::PackageSelectionItem

Inherits:
Item
  • Object
show all
Defined in:
lib/vendor/xmpp4r/setup.rb

Instance Attribute Summary collapse

Attributes inherited from Item

#default, #description, #name

Instance Method Summary collapse

Methods inherited from Item

#help_opt, #resolve, #set, #value, #value?

Constructor Details

#initialize(name, template, default, help_default, desc) ⇒ PackageSelectionItem

Returns a new instance of PackageSelectionItem.



453
454
455
456
# File 'lib/vendor/xmpp4r/setup.rb', line 453

def initialize(name, template, default, help_default, desc)
  super name, template, default, desc
  @help_default = help_default
end

Instance Attribute Details

#help_defaultObject (readonly)

Returns the value of attribute help_default.



458
459
460
# File 'lib/vendor/xmpp4r/setup.rb', line 458

def help_default
  @help_default
end

Instance Method Details

#config_typeObject



460
461
462
# File 'lib/vendor/xmpp4r/setup.rb', line 460

def config_type
  'package'
end