Class: ConfigTable::PackageSelectionItem
- Defined in:
- lib/priority-queue/setup.rb
Instance Attribute Summary collapse
-
#help_default ⇒ Object
readonly
Returns the value of attribute help_default.
Attributes inherited from Item
Instance Method Summary collapse
- #config_type ⇒ Object
-
#initialize(name, template, default, help_default, desc) ⇒ PackageSelectionItem
constructor
A new instance of PackageSelectionItem.
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/priority-queue/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_default ⇒ Object (readonly)
Returns the value of attribute help_default.
458 459 460 |
# File 'lib/priority-queue/setup.rb', line 458 def help_default @help_default end |
Instance Method Details
#config_type ⇒ Object
460 461 462 |
# File 'lib/priority-queue/setup.rb', line 460 def config_type 'package' end |