Sha256: 0e6ef2ec5ad09330c7dff92e2d29d38926a4026869edb05a51aaec0ad021d252
Contents?: true
Size: 495 Bytes
Versions: 13
Compression:
Stored size: 495 Bytes
Contents
# encoding: utf-8 module Mongoid #:nodoc: module Criterion #:nodoc: # Wrapper class for strings that should not be converted into # BSON::ObjectIds. class Unconvertable < String # Initialize just like a normal string, and quack like it to. # # @example Create the new Unconvertable. # Unconvertable.new("testing") # # @param [ String ] value The string. # # @since 2.0.2 def initialize(value); super; end end end end
Version data entries
13 entries across 13 versions & 2 rubygems