Module: Arel::Predications
- Defined in:
- lib/pg_searchable/arel/predications.rb
Instance Method Summary collapse
- #dmetaphone(text, dictionary = 'simple') ⇒ Object
- #tgrm(text) ⇒ Object
- #tsearch(text, dictionary = 'simple') ⇒ Object
Instance Method Details
#dmetaphone(text, dictionary = 'simple') ⇒ Object
13 14 15 |
# File 'lib/pg_searchable/arel/predications.rb', line 13 def (text, dictionary = 'simple') Nodes::.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 |