Sha256: 1d77607d240f826b9bab7ff3664986e41e8c0de1f1ec9d9edbf064b321502165
Contents?: true
Size: 519 Bytes
Versions: 6
Compression:
Stored size: 519 Bytes
Contents
# encoding: UTF-8 module MarkMapper module Extensions module Array extend ActiveSupport::Concern module ClassMethods def to_marklogic(value) value = value.respond_to?(:lines) ? value.lines : value value.to_a end def from_marklogic(value) value || [] end end def _mark_mapper_deep_copy_ map { |value| value._mark_mapper_deep_copy_ } end end end end class Array include MarkMapper::Extensions::Array end
Version data entries
6 entries across 6 versions & 1 rubygems