Class: ConfigTable::BoolItem

Inherits:
Item show all
Defined in:
lib/gems/xmpp4r-0.4/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/gems/xmpp4r-0.4/setup.rb', line 362

def config_type
  'bool'
end

#help_optObject



366
367
368
# File 'lib/gems/xmpp4r-0.4/setup.rb', line 366

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