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.7.5 lib/mongoid/extensions/string/conversions.rb
mongoid-0.7.4 lib/mongoid/extensions/string/conversions.rb
mongoid-0.7.3 lib/mongoid/extensions/string/conversions.rb
mongoid-0.7.2 lib/mongoid/extensions/string/conversions.rb
mongoid-0.7.1 lib/mongoid/extensions/string/conversions.rb
mongoid-0.7.0 lib/mongoid/extensions/string/conversions.rb
mongoid-0.6.10 lib/mongoid/extensions/string/conversions.rb
mongoid-0.6.9 lib/mongoid/extensions/string/conversions.rb
mongoid-0.6.8 lib/mongoid/extensions/string/conversions.rb
mongoid-0.6.7 lib/mongoid/extensions/string/conversions.rb
mongoid-0.6.6 lib/mongoid/extensions/string/conversions.rb
mongoid-0.6.5 lib/mongoid/extensions/string/conversions.rb
mongoid-0.6.4 lib/mongoid/extensions/string/conversions.rb
mongoid-0.6.3 lib/mongoid/extensions/string/conversions.rb
mongoid-0.6.2 lib/mongoid/extensions/string/conversions.rb
mongoid-0.6.1 lib/mongoid/extensions/string/conversions.rb
mongoid-0.6.0 lib/mongoid/extensions/string/conversions.rb
mongoid-0.5.11 lib/mongoid/extensions/string/conversions.rb
mongoid-0.5.10 lib/mongoid/extensions/string/conversions.rb
mongoid-0.5.9 lib/mongoid/extensions/string/conversions.rb