Sha256: d365530d9cc55f04ff904415b490089621ef89f805207c99503188f724410904

Contents?: true

Size: 236 Bytes

Versions: 15

Compression:

Stored size: 236 Bytes

Contents

module Searchlogic
  module Modifiers
    class Cos < Base
      class << self
        def modifier_names
          super + ["cosine"]
        end
        
        def return_type
          :float
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
schof-searchlogic-0.0.2 lib/searchlogic/modifiers/cos.rb
searchlogic-1.5.6 lib/searchlogic/modifiers/cos.rb
searchlogic-1.6.0 lib/searchlogic/modifiers/cos.rb
searchlogic-1.5.3 lib/searchlogic/modifiers/cos.rb
searchlogic-1.5.7 lib/searchlogic/modifiers/cos.rb
searchlogic-1.5.4 lib/searchlogic/modifiers/cos.rb
searchlogic-1.5.8 lib/searchlogic/modifiers/cos.rb
searchlogic-1.5.9 lib/searchlogic/modifiers/cos.rb
searchlogic-1.6.1 lib/searchlogic/modifiers/cos.rb
searchlogic-1.5.10 lib/searchlogic/modifiers/cos.rb
searchlogic-1.6.6 lib/searchlogic/modifiers/cos.rb
searchlogic-1.6.2 lib/searchlogic/modifiers/cos.rb
searchlogic-1.6.3 lib/searchlogic/modifiers/cos.rb
searchlogic-1.6.4 lib/searchlogic/modifiers/cos.rb
searchlogic-1.6.5 lib/searchlogic/modifiers/cos.rb