Class: ConfigTable::BoolItem

Inherits:
Item show all
Defined in:
lib/mime-types-1.16/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



361
362
363
# File 'lib/mime-types-1.16/setup.rb', line 361

def config_type
  'bool'
end

#help_optObject



365
366
367
# File 'lib/mime-types-1.16/setup.rb', line 365

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