Class: ConfigTable::BoolItem

Inherits:
Item
  • Object
show all
Defined in:
lib/priority-queue/setup.rb

Instance Attribute Summary

Attributes inherited from Item

#default, #description, #name

Instance Method Summary collapse

Methods inherited from Item

#initialize, #resolve, #set, #value, #value?

Constructor Details

This class inherits a constructor from ConfigTable::Item

Instance Method Details

#config_typeObject



364
365
366
# File 'lib/priority-queue/setup.rb', line 364

def config_type
  'bool'
end

#help_optObject



368
369
370
# File 'lib/priority-queue/setup.rb', line 368

def help_opt
  "--#{@name}"
end