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
Defined Under Namespace
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
5 6 7 |
# File 'lib/forme/transformers/wrapper.rb', line 5 def call(tag, input) Array(tag) end |