Class: Symbol
Instance Method Summary collapse
- #<(other) ⇒ Object
- #<=(other) ⇒ Object
- #<=>(other) ⇒ Object
- #>(other) ⇒ Object
- #>=(other) ⇒ Object
- #between(s, e) ⇒ Object
-
#eq(other) ⇒ Object
(also: #is)
Do not overload Symbol#==.
- #has_element(other) ⇒ Object
- #has_element_ilike(other) ⇒ Object
- #has_element_like(other) ⇒ Object
- #ilike(other) ⇒ Object
- #in(other) ⇒ Object
- #like(other) ⇒ Object
- #not(other) ⇒ Object
- #not_in(other) ⇒ Object
Instance Method Details
#<(other) ⇒ Object
31 32 33 |
# File 'lib/lore/clause.rb', line 31 def <(other) Lore::Clause.new(self.to_s)<=(other) end |
#<=(other) ⇒ Object
25 26 27 |
# File 'lib/lore/clause.rb', line 25 def <=(other) Lore::Clause.new(self.to_s)<=(other) end |
#<=>(other) ⇒ Object
34 35 36 |
# File 'lib/lore/clause.rb', line 34 def <=>(other) Lore::Clause.new(self.to_s)<=>(other) end |
#>(other) ⇒ Object
28 29 30 |
# File 'lib/lore/clause.rb', line 28 def >(other) Lore::Clause.new(self.to_s)>(other) end |
#>=(other) ⇒ Object
22 23 24 |
# File 'lib/lore/clause.rb', line 22 def >=(other) Lore::Clause.new(self.to_s)>=(other) end |
#between(s, e) ⇒ Object
61 62 63 |
# File 'lib/lore/clause.rb', line 61 def between(s,e) Lore::Clause.new(self.to_s).between(s,e) end |
#eq(other) ⇒ Object Also known as: is
Do not overload Symbol#==
18 19 20 |
# File 'lib/lore/clause.rb', line 18 def eq(other) Lore::Clause.new(self.to_s)==(other) end |
#has_element(other) ⇒ Object
46 47 48 |
# File 'lib/lore/clause.rb', line 46 def has_element(other) Lore::Clause.new(self.to_s).has_element(other) end |
#has_element_ilike(other) ⇒ Object
52 53 54 |
# File 'lib/lore/clause.rb', line 52 def has_element_ilike(other) Lore::Clause.new(self.to_s).has_element_ilike(other) end |
#has_element_like(other) ⇒ Object
49 50 51 |
# File 'lib/lore/clause.rb', line 49 def has_element_like(other) Lore::Clause.new(self.to_s).has_element_like(other) end |
#ilike(other) ⇒ Object
43 44 45 |
# File 'lib/lore/clause.rb', line 43 def ilike(other) Lore::Clause.new(self.to_s).ilike(other) end |
#in(other) ⇒ Object
55 56 57 |
# File 'lib/lore/clause.rb', line 55 def in(other) Lore::Clause.new(self.to_s).in(other) end |
#like(other) ⇒ Object
40 41 42 |
# File 'lib/lore/clause.rb', line 40 def like(other) Lore::Clause.new(self.to_s).like(other) end |