Class: SnippetFinder
- Inherits:
-
Object
- Object
- SnippetFinder
- Defined in:
- app/models/snippet_finder.rb
Class Method Summary collapse
Class Method Details
.find(id) ⇒ Object
3 4 5 |
# File 'app/models/snippet_finder.rb', line 3 def find(id) find_map('find', id) end |
.find_by_name(name) ⇒ Object
7 8 9 |
# File 'app/models/snippet_finder.rb', line 7 def find_by_name(name) find_map('find_by_name', name) end |
.finder_types ⇒ Object
11 12 13 |
# File 'app/models/snippet_finder.rb', line 11 def finder_types [Snippet] end |