diff options
Diffstat (limited to 'vendor/plugins/thinking-sphinx/lib/thinking_sphinx/class_facet.rb')
| -rw-r--r-- | vendor/plugins/thinking-sphinx/lib/thinking_sphinx/class_facet.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/vendor/plugins/thinking-sphinx/lib/thinking_sphinx/class_facet.rb b/vendor/plugins/thinking-sphinx/lib/thinking_sphinx/class_facet.rb deleted file mode 100644 index cb301b8..0000000 --- a/vendor/plugins/thinking-sphinx/lib/thinking_sphinx/class_facet.rb +++ /dev/null | |||
| @@ -1,15 +0,0 @@ | |||
| 1 | module ThinkingSphinx | ||
| 2 | class ClassFacet < ThinkingSphinx::Facet | ||
| 3 | def name | ||
| 4 | :class | ||
| 5 | end | ||
| 6 | |||
| 7 | def attribute_name | ||
| 8 | "class_crc" | ||
| 9 | end | ||
| 10 | |||
| 11 | def value(object, attribute_value) | ||
| 12 | object.class.name | ||
| 13 | end | ||
| 14 | end | ||
| 15 | end | ||
