Sha256: 5cb4b1a163b2f93622306c182837a5e699ce6e9e23727f84b8b1e1d88120c335

Contents?: true

Size: 235 Bytes

Versions: 12

Compression:

Stored size: 235 Bytes

Contents

module Searchgasm
  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

12 entries across 12 versions & 1 rubygems

Version Path
searchgasm-1.3.1 lib/searchgasm/modifiers/cos.rb
searchgasm-1.3.0 lib/searchgasm/modifiers/cos.rb
searchgasm-1.3.2 lib/searchgasm/modifiers/cos.rb
searchgasm-1.3.3 lib/searchgasm/modifiers/cos.rb
searchgasm-1.3.4 lib/searchgasm/modifiers/cos.rb
searchgasm-1.5.1 lib/searchgasm/modifiers/cos.rb
searchgasm-1.5.3 lib/searchgasm/modifiers/cos.rb
searchgasm-1.4.0 lib/searchgasm/modifiers/cos.rb
searchgasm-1.4.1 lib/searchgasm/modifiers/cos.rb
searchgasm-1.5.2 lib/searchgasm/modifiers/cos.rb
searchgasm-1.5.0 lib/searchgasm/modifiers/cos.rb
searchgasm-1.3.5 lib/searchgasm/modifiers/cos.rb