Sha256: aafaa85e684d2edbc085d889ba0933689aade7e0a8c6fd04b8b5f7c9c27f5f17

Contents?: true

Size: 239 Bytes

Versions: 98

Compression:

Stored size: 239 Bytes

Contents

module ThinkingSphinx
  class ClassFacet < ThinkingSphinx::Facet
    def name
      :class
    end
    
    def attribute_name
      "class_crc"
    end
    
    def value(object, attribute_value)
      object.class.name
    end
  end
end

Version data entries

98 entries across 98 versions & 21 rubygems

Version Path
DrMark-thinking-sphinx-1.1.14 lib/thinking_sphinx/class_facet.rb
DrMark-thinking-sphinx-1.1.15 lib/thinking_sphinx/class_facet.rb
DrMark-thinking-sphinx-1.2.5 lib/thinking_sphinx/class_facet.rb
DrMark-thinking-sphinx-1.2.6 lib/thinking_sphinx/class_facet.rb
bterlson-thinking-sphinx-1.2.8 lib/thinking_sphinx/class_facet.rb
dpickett-thinking-sphinx-1.1.12 lib/thinking_sphinx/class_facet.rb
dpickett-thinking-sphinx-1.1.23 lib/thinking_sphinx/class_facet.rb
ebeigarts-thinking-sphinx-1.1.21 lib/thinking_sphinx/class_facet.rb
ebeigarts-thinking-sphinx-1.1.22 lib/thinking_sphinx/class_facet.rb
ebeigarts-thinking-sphinx-1.2.10 lib/thinking_sphinx/class_facet.rb
factorylabs-thinking-sphinx-1.2.7 lib/thinking_sphinx/class_facet.rb
freelancing-god-thinking-sphinx-1.1.10 lib/thinking_sphinx/class_facet.rb
freelancing-god-thinking-sphinx-1.1.11 lib/thinking_sphinx/class_facet.rb
freelancing-god-thinking-sphinx-1.1.12 lib/thinking_sphinx/class_facet.rb
freelancing-god-thinking-sphinx-1.1.14 lib/thinking_sphinx/class_facet.rb
freelancing-god-thinking-sphinx-1.1.15 lib/thinking_sphinx/class_facet.rb
freelancing-god-thinking-sphinx-1.1.16 lib/thinking_sphinx/class_facet.rb
freelancing-god-thinking-sphinx-1.1.17 lib/thinking_sphinx/class_facet.rb
freelancing-god-thinking-sphinx-1.1.18 lib/thinking_sphinx/class_facet.rb
freelancing-god-thinking-sphinx-1.1.19 lib/thinking_sphinx/class_facet.rb