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
freelancing-god-thinking-sphinx-1.1.20 lib/thinking_sphinx/class_facet.rb
freelancing-god-thinking-sphinx-1.1.21 lib/thinking_sphinx/class_facet.rb
freelancing-god-thinking-sphinx-1.1.22 lib/thinking_sphinx/class_facet.rb
freelancing-god-thinking-sphinx-1.1.23 lib/thinking_sphinx/class_facet.rb
freelancing-god-thinking-sphinx-1.1.24 lib/thinking_sphinx/class_facet.rb
freelancing-god-thinking-sphinx-1.1.7 lib/thinking_sphinx/class_facet.rb
freelancing-god-thinking-sphinx-1.1.8 lib/thinking_sphinx/class_facet.rb
freelancing-god-thinking-sphinx-1.1.9 lib/thinking_sphinx/class_facet.rb
freelancing-god-thinking-sphinx-1.2.0 lib/thinking_sphinx/class_facet.rb
freelancing-god-thinking-sphinx-1.2.1 lib/thinking_sphinx/class_facet.rb
freelancing-god-thinking-sphinx-1.2.10 lib/thinking_sphinx/class_facet.rb
freelancing-god-thinking-sphinx-1.2.11 lib/thinking_sphinx/class_facet.rb
freelancing-god-thinking-sphinx-1.2.2 lib/thinking_sphinx/class_facet.rb
freelancing-god-thinking-sphinx-1.2.3 lib/thinking_sphinx/class_facet.rb
freelancing-god-thinking-sphinx-1.2.4 lib/thinking_sphinx/class_facet.rb
freelancing-god-thinking-sphinx-1.2.5 lib/thinking_sphinx/class_facet.rb
freelancing-god-thinking-sphinx-1.2.6 lib/thinking_sphinx/class_facet.rb
freelancing-god-thinking-sphinx-1.2.7 lib/thinking_sphinx/class_facet.rb
freelancing-god-thinking-sphinx-1.2.8 lib/thinking_sphinx/class_facet.rb
freelancing-god-thinking-sphinx-1.2.9 lib/thinking_sphinx/class_facet.rb