Class: ConfigTable::BoolItem

Inherits:
Item
  • Object
show all
Defined in:
lib/vendor/xmpp4r/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



362
363
364
# File 'lib/vendor/xmpp4r/setup.rb', line 362

def config_type
  'bool'
end

#help_optObject



366
367
368
# File 'lib/vendor/xmpp4r/setup.rb', line 366

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