Sha256: c3f3a0054adab84df049592d79132fbc6bc64eeb4b19ba167d9ac39d427e5e45

Contents?: true

Size: 260 Bytes

Versions: 19

Compression:

Stored size: 260 Bytes

Contents

require 'fiona7/attribute_writers/attribute_writer'

module Fiona7
  module AttributeWriters
    class MultienumAsMultienum < AttributeWriter
      def call(value, claimed_type=nil)
        self.obj.set(self.attr_name, value || [])
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
infopark_fiona7-1.6.1.1.5 lib/fiona7/attribute_writers/multienum_as_multienum.rb
infopark_fiona7-1.6.1.1.1 lib/fiona7/attribute_writers/multienum_as_multienum.rb
infopark_fiona7-1.6.1.1.0 lib/fiona7/attribute_writers/multienum_as_multienum.rb
infopark_fiona7-1.2.0.2.3 lib/fiona7/attribute_writers/multienum_as_multienum.rb
infopark_fiona7-1.2.0.2.1 lib/fiona7/attribute_writers/multienum_as_multienum.rb
infopark_fiona7-1.2.0.2.2 lib/fiona7/attribute_writers/multienum_as_multienum.rb
infopark_fiona7-1.5.5.5.1 lib/fiona7/attribute_writers/multienum_as_multienum.rb
infopark_fiona7-1.5.5.5.0 lib/fiona7/attribute_writers/multienum_as_multienum.rb
infopark_fiona7-1.2.0.1.4 lib/fiona7/attribute_writers/multienum_as_multienum.rb
infopark_fiona7-1.5.5.4.1 lib/fiona7/attribute_writers/multienum_as_multienum.rb
infopark_fiona7-1.5.5.4.0 lib/fiona7/attribute_writers/multienum_as_multienum.rb
infopark_fiona7-1.2.0.1.3 lib/fiona7/attribute_writers/multienum_as_multienum.rb
infopark_fiona7-1.5.5.3.1 lib/fiona7/attribute_writers/multienum_as_multienum.rb
infopark_fiona7-1.5.4.3.0 lib/fiona7/attribute_writers/multienum_as_multienum.rb
infopark_fiona7-1.5.3.2.0 lib/fiona7/attribute_writers/multienum_as_multienum.rb
infopark_fiona7-1.5.3.2.0.pre.beta1 lib/fiona7/attribute_writers/multienum_as_multienum.rb
infopark_fiona7-1.5.2.1.0.pre.beta1 lib/fiona7/attribute_writers/multienum_as_multienum.rb
infopark_fiona7-1.5.2.0.0 lib/fiona7/attribute_writers/multienum_as_multienum.rb
infopark_fiona7-1.2.0.1.1 lib/fiona7/attribute_writers/multienum_as_multienum.rb