Class: Fiona7::AttributeReaders::HtmlAsHtml
- Inherits:
-
AttributeReader
- Object
- AttributeReader
- Fiona7::AttributeReaders::HtmlAsHtml
- Defined in:
- lib/fiona7/attribute_readers/html_as_html.rb
Instance Method Summary collapse
Methods inherited from AttributeReader
Constructor Details
This class inherits a constructor from Fiona7::AttributeReaders::AttributeReader
Instance Method Details
#call ⇒ Object
7 8 9 10 |
# File 'lib/fiona7/attribute_readers/html_as_html.rb', line 7 def call value = self.obj[self.attr_name].to_s Helpers::HtmlDeserializer.new(self.obj).call(value) end |