Module: Arel::Predications

Defined in:
lib/pg_searchable/arel/predications.rb

Instance Method Summary collapse

Instance Method Details

#dmetaphone(text, dictionary = 'simple') ⇒ Object



13
14
15
# File 'lib/pg_searchable/arel/predications.rb', line 13

def dmetaphone(text, dictionary = 'simple')
  Nodes::Dmetaphone.new(self, text, dictionary)
end

#tgrm(text) ⇒ Object



5
6
7
# File 'lib/pg_searchable/arel/predications.rb', line 5

def tgrm(text)
  Nodes::Tgrm.new(self, text)
end

#tsearch(text, dictionary = 'simple') ⇒ Object



9
10
11
# File 'lib/pg_searchable/arel/predications.rb', line 9

def tsearch(text, dictionary = 'simple')
  Nodes::Tsearch.new(self, text, dictionary)
end