Class: Symbol
- Inherits:
-
Object
- Object
- Symbol
- Defined in:
- lib/lore/symbol.rb
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
- #intern ⇒ Object
- #like(other) ⇒ Object
- #not(other) ⇒ Object
- #not_in(other) ⇒ Object
Instance Method Details
#<(other) ⇒ Object
23 24 25 |
# File 'lib/lore/symbol.rb', line 23 def <(other) Lore::Clause.new(self.to_s)<=(other) end |
#<=(other) ⇒ Object
17 18 19 |
# File 'lib/lore/symbol.rb', line 17 def <=(other) Lore::Clause.new(self.to_s)<=(other) end |
#<=>(other) ⇒ Object
26 27 28 |
# File 'lib/lore/symbol.rb', line 26 def <=>(other) Lore::Clause.new(self.to_s)<=>(other) end |
#>(other) ⇒ Object
20 21 22 |
# File 'lib/lore/symbol.rb', line 20 def >(other) Lore::Clause.new(self.to_s)>(other) end |
#>=(other) ⇒ Object
14 15 16 |
# File 'lib/lore/symbol.rb', line 14 def >=(other) Lore::Clause.new(self.to_s)>=(other) end |
#between(s, e) ⇒ Object
53 54 55 |
# File 'lib/lore/symbol.rb', line 53 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#==
10 11 12 |
# File 'lib/lore/symbol.rb', line 10 def eq(other) Lore::Clause.new(self.to_s)==(other) end |
#has_element(other) ⇒ Object
38 39 40 |
# File 'lib/lore/symbol.rb', line 38 def has_element(other) Lore::Clause.new(self.to_s).has_element(other) end |
#has_element_ilike(other) ⇒ Object
44 45 46 |
# File 'lib/lore/symbol.rb', line 44 def has_element_ilike(other) Lore::Clause.new(self.to_s).has_element_ilike(other) end |
#has_element_like(other) ⇒ Object
41 42 43 |
# File 'lib/lore/symbol.rb', line 41 def has_element_like(other) Lore::Clause.new(self.to_s).has_element_like(other) end |
#ilike(other) ⇒ Object
35 36 37 |
# File 'lib/lore/symbol.rb', line 35 def ilike(other) Lore::Clause.new(self.to_s).ilike(other) end |
#in(other) ⇒ Object
47 48 49 |
# File 'lib/lore/symbol.rb', line 47 def in(other) Lore::Clause.new(self.to_s).in(other) end |
#intern ⇒ Object
5 6 7 |
# File 'lib/lore/symbol.rb', line 5 def intern self end |
#like(other) ⇒ Object
32 33 34 |
# File 'lib/lore/symbol.rb', line 32 def like(other) Lore::Clause.new(self.to_s).like(other) end |