Class: Fiona7::AttributeWriters::HtmlAsHtml
- Inherits:
-
AttributeWriter
- Object
- AttributeWriter
- Fiona7::AttributeWriters::HtmlAsHtml
- Defined in:
- lib/fiona7/attribute_writers/html_as_html.rb
Instance Method Summary collapse
Methods inherited from AttributeWriter
Constructor Details
This class inherits a constructor from Fiona7::AttributeWriters::AttributeWriter
Instance Method Details
#call(value, claimed_type = nil) ⇒ Object
7 8 9 |
# File 'lib/fiona7/attribute_writers/html_as_html.rb', line 7 def call(value, claimed_type=nil) self.obj.set(self.attr_name, Helpers::HtmlSerializer.new(self.obj, self.klass).call(value)) end |