Sha256: 0ed207cd867c416643b08027c44026382d5282cadbb2c69d3174c31325341270

Contents?: true

Size: 249 Bytes

Versions: 43

Compression:

Stored size: 249 Bytes

Contents

module Mongoid #:nodoc:
  module Extensions #:nodoc:
    module String #:nodoc:
      module Conversions #:nodoc:
        def set(value)
          value.to_s
        end
        def get(value)
          value
        end
      end
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
mongoid-0.5.8 lib/mongoid/extensions/string/conversions.rb
mongoid-0.5.7 lib/mongoid/extensions/string/conversions.rb
mongoid-0.5.6 lib/mongoid/extensions/string/conversions.rb