class KafoWizards::Entries::BooleanEntry

Public Class Methods

entry_type() click to toggle source
# File lib/kafo_wizards/entries/boolean.rb, line 10
def self.entry_type
  :boolean
end
new(name, options={}) click to toggle source
Calls superclass method KafoWizards::Entries::AbstractEntry.new
# File lib/kafo_wizards/entries/boolean.rb, line 5
def initialize(name, options={})
  super(name, options)
  @value = @default_value ? true : false
end