Sha256: 8a65a6c3e7b3e583159c94d1a1870d18d97bbb43a2a2ddb056a15e1a7579cac5
Contents?: true
Size: 391 Bytes
Versions: 24
Compression:
Stored size: 391 Bytes
Contents
class Boolean < TrueClass; end class Symbol [:lt, :lte, :gt, :gte, :ne, :in, :nin, :mod, :all, :size, :exists, :near].each do |operator| define_method(operator) { MongoModel::MongoOperator.new(self, operator) } end define_method(:asc) { MongoModel::MongoOrder::Clause.new(self, :ascending) } define_method(:desc) { MongoModel::MongoOrder::Clause.new(self, :descending) } end
Version data entries
24 entries across 24 versions & 1 rubygems