Sha256: 854cabcde4ca052c4ec08856a053361433488f9ce4e0ffa9b34202f3fb527101

Contents?: true

Size: 253 Bytes

Versions: 100

Compression:

Stored size: 253 Bytes

Contents

# encoding: utf-8
module Mongoid #:nodoc:
  module Matchers #:nodoc:
    class Gte < Default
      # Return true if the attribute is greater than or equal to the value.
      def matches?(value)
        determine(value, :>=)
      end
    end
  end
end

Version data entries

100 entries across 100 versions & 12 rubygems

Version Path
mongo_doc-0.6.34 lib/mongoid/matchers/gte.rb
mongo_doc-0.6.33 lib/mongoid/matchers/gte.rb
mongo_doc-0.6.32 lib/mongoid/matchers/gte.rb
mongo_doc-0.6.31 lib/mongoid/matchers/gte.rb
mongo_doc-0.6.30 lib/mongoid/matchers/gte.rb
mongoid-braxton-2.0.2 lib/mongoid/matchers/gte.rb
mongoid-2.0.2 lib/mongoid/matchers/gte.rb
mongo_doc-0.6.29 lib/mongoid/matchers/gte.rb
mongo_doc-0.6.28 lib/mongoid/matchers/gte.rb
mongoid-2.0.1 lib/mongoid/matchers/gte.rb
mongoid-2.0.0 lib/mongoid/matchers/gte.rb
mongoid-2.0.0.rc.8 lib/mongoid/matchers/gte.rb
mongo_doc-0.6.27 lib/mongoid/matchers/gte.rb
mongoid-1.9.5 lib/mongoid/matchers/gte.rb
mongoid-2.0.0.rc.7 lib/mongoid/matchers/gte.rb
stonegao-mongoid-2.0.0.rc.6 lib/mongoid/matchers/gte.rb
mongoid-2.0.0.rc.6 lib/mongoid/matchers/gte.rb
mongoid-2.0.0.rc.5 lib/mongoid/matchers/gte.rb
mongoid-2.0.0.rc.4 lib/mongoid/matchers/gte.rb
mongoid-2.0.0.rc.3 lib/mongoid/matchers/gte.rb