Class: Symbol

Inherits:
Object
  • Object
show all
Defined in:
lib/dm-core/support/symbol.rb

Instance Method Summary collapse

Instance Method Details

#ascObject



34
35
36
# File 'lib/dm-core/support/symbol.rb', line 34

def asc
  DataMapper::Query::Operator.new(self, :asc)
end

#descObject



38
39
40
# File 'lib/dm-core/support/symbol.rb', line 38

def desc
  DataMapper::Query::Operator.new(self, :desc)
end

#eqlObject



22
23
24
# File 'lib/dm-core/support/symbol.rb', line 22

def eql
  DataMapper::Query::Operator.new(self, :eql)
end

#gtObject



2
3
4
# File 'lib/dm-core/support/symbol.rb', line 2

def gt
  DataMapper::Query::Operator.new(self, :gt)
end

#gteObject



6
7
8
# File 'lib/dm-core/support/symbol.rb', line 6

def gte
  DataMapper::Query::Operator.new(self, :gte)
end

#inObject



30
31
32
# File 'lib/dm-core/support/symbol.rb', line 30

def in
  DataMapper::Query::Operator.new(self, :in)
end

#likeObject



26
27
28
# File 'lib/dm-core/support/symbol.rb', line 26

def like
  DataMapper::Query::Operator.new(self, :like)
end

#ltObject



10
11
12
# File 'lib/dm-core/support/symbol.rb', line 10

def lt
  DataMapper::Query::Operator.new(self, :lt)
end

#lteObject



14
15
16
# File 'lib/dm-core/support/symbol.rb', line 14

def lte
  DataMapper::Query::Operator.new(self, :lte)
end

#notObject



18
19
20
# File 'lib/dm-core/support/symbol.rb', line 18

def not
  DataMapper::Query::Operator.new(self, :not)
end