Sha256: fd957b94401be062aa15c66548e96b72da6d7e1d2251a5c17aeba7bbf3686898
Contents?: true
Size: 265 Bytes
Versions: 5
Compression:
Stored size: 265 Bytes
Contents
# encoding: utf-8 module Mongoid #:nodoc: module Matchers #:nodoc: class Gt < Default # Return true if the attribute is greater than the value. def matches?(value) @attribute ? @attribute > first(value) : false end end end end
Version data entries
5 entries across 5 versions & 1 rubygems