Sha256: b4f96d957b05a7dbbea047f28cf34cd0d9897edd0788fcdd31d836d8c5cb72a5

Contents?: true

Size: 267 Bytes

Versions: 6

Compression:

Stored size: 267 Bytes

Contents

# encoding: UTF-8
module MarkMapper
  module Extensions
    module NilClass
      def to_marklogic(value)
        value
      end

      def from_marklogic(value)
        value
      end
    end
  end
end

class NilClass
  include MarkMapper::Extensions::NilClass
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mark_mapper-0.0.6 lib/mark_mapper/extensions/nil_class.rb
mark_mapper-0.0.5 lib/mark_mapper/extensions/nil_class.rb
mark_mapper-0.0.4 lib/mark_mapper/extensions/nil_class.rb
mark_mapper-0.0.3 lib/mark_mapper/extensions/nil_class.rb
mark_mapper-0.0.2 lib/mark_mapper/extensions/nil_class.rb
mark_mapper-0.0.1 lib/mark_mapper/extensions/nil_class.rb