Sha256: c812d97db032c578576e55998c48c2914593062dd3282580738ae217b920bdd8
Contents?: true
Size: 348 Bytes
Versions: 19
Compression:
Stored size: 348 Bytes
Contents
require 'fiona7/attribute_writers/attribute_writer' require 'fiona7/attribute_writers/helpers/json_serializer' module Fiona7 module AttributeWriters class MultienumAsText < AttributeWriter def call(value, claimed_type=nil) self.obj.set(self.attr_name, Helpers::JsonSerializer.new.call(value || [])) end end end end
Version data entries
19 entries across 19 versions & 1 rubygems