Class: BlockHTML::Form
Defined Under Namespace
Instance Attribute Summary
Attributes inherited from BlockHTML
Instance Method Summary collapse
Methods inherited from BlockHTML
#<<, #_p, #doctype, #each, #empty?, #escaped_text, #initialize, #method_missing, #p, #path, #render, #root, #text, #to_s, #xml
Constructor Details
This class inherits a constructor from BlockHTML
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class BlockHTML
Instance Method Details
#form(attrs = {}, &block) ⇒ Object
7 8 9 |
# File 'lib/block-html/form.rb', line 7 def form(attrs={}, &block) tag(:form, attrs, &block) end |