Sha256: 98c364b129cc9959553d9b369121c5e14bcbb0d99d71f86f60c90a5445a8301a
Contents?: true
Size: 359 Bytes
Versions: 19
Compression:
Stored size: 359 Bytes
Contents
require 'fiona7/attribute_writers/attribute_writer' require 'fiona7/attribute_writers/helpers/html_serializer' module Fiona7 module AttributeWriters class HtmlAsHtml < AttributeWriter def call(value, claimed_type=nil) self.obj.set(self.attr_name, Helpers::HtmlSerializer.new(self.obj, self.klass).call(value)) end end end end
Version data entries
19 entries across 19 versions & 1 rubygems