Class: Forme::Wrapper
- Inherits:
-
Object
- Object
- Forme::Wrapper
- Defined in:
- lib/forme/transformers/wrapper.rb
Overview
Default wrapper doesn’t wrap input in any tag
Direct Known Subclasses
Defined Under Namespace
Classes: Bootstrap3, TableRow, Tag
Instance Method Summary collapse
-
#call(tag, input) ⇒ Object
Return an array containing the tag.
Instance Method Details
#call(tag, input) ⇒ Object
Return an array containing the tag
7 8 9 |
# File 'lib/forme/transformers/wrapper.rb', line 7 def call(tag, input) Array(tag) end |