Class: Formic::Checkbox
Instance Attribute Summary
Attributes inherited from Input
Attributes inherited from Base
#content, #options, #page, #template
Instance Method Summary collapse
Methods inherited from Input
Methods inherited from Base
#add_class, default_template, #formics, #has_class?, #initialize, #merge_options, #method_missing, template, #to_s
Constructor Details
This class inherits a constructor from Formic::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Formic::Base
Instance Method Details
#_initialize(name = nil, options = {}, &block) ⇒ Object
3 4 5 6 7 |
# File 'lib/formic/checkbox.rb', line 3 def _initialize name=nil, ={}, &block super self.[:type] = 'checkbox' return self end |