Class: NitroKit::Input
- Defined in:
- app/components/nitro_kit/input.rb
Instance Attribute Summary
Attributes inherited from Component
Instance Method Summary collapse
-
#initialize(**attrs) ⇒ Input
constructor
A new instance of Input.
- #view_template ⇒ Object
Methods inherited from Component
Constructor Details
#initialize(**attrs) ⇒ Input
Returns a new instance of Input.
5 6 7 8 9 10 |
# File 'app/components/nitro_kit/input.rb', line 5 def initialize(**attrs) super( attrs, class: base_class ) end |
Instance Method Details
#view_template ⇒ Object
12 13 14 |
# File 'app/components/nitro_kit/input.rb', line 12 def view_template input(**attrs) end |