Module: Flareshow::Searchable

Included in:
Comment, FileAttachment, Post
Defined in:
lib/searchable.rb

Instance Method Summary collapse

Instance Method Details

#search(keywords) ⇒ Object



4
5
6
# File 'lib/searchable.rb', line 4

def search(keywords)
  self.find({:keywords => keywords})
end