Class: Fiona7::AttributeReaders::HtmlAsHtml

Inherits:
AttributeReader show all
Defined in:
lib/fiona7/attribute_readers/html_as_html.rb

Instance Method Summary collapse

Methods inherited from AttributeReader

#initialize

Constructor Details

This class inherits a constructor from Fiona7::AttributeReaders::AttributeReader

Instance Method Details

#callObject



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