Sha256: 78b16682c54cf594b65a55145f29792055cbc38e663673608fdb74c0bf71cd58

Contents?: true

Size: 250 Bytes

Versions: 15

Compression:

Stored size: 250 Bytes

Contents

module Searchlogic
  module Modifiers
    class SquareRoot < Base
      class << self
        def modifier_names
          super + ["sqrt", "sq_rt"]
        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/square_root.rb
searchlogic-1.5.9 lib/searchlogic/modifiers/square_root.rb
searchlogic-1.5.3 lib/searchlogic/modifiers/square_root.rb
searchlogic-1.5.10 lib/searchlogic/modifiers/square_root.rb
searchlogic-1.6.0 lib/searchlogic/modifiers/square_root.rb
searchlogic-1.5.8 lib/searchlogic/modifiers/square_root.rb
searchlogic-1.5.4 lib/searchlogic/modifiers/square_root.rb
searchlogic-1.6.1 lib/searchlogic/modifiers/square_root.rb
searchlogic-1.5.7 lib/searchlogic/modifiers/square_root.rb
searchlogic-1.5.6 lib/searchlogic/modifiers/square_root.rb
searchlogic-1.6.4 lib/searchlogic/modifiers/square_root.rb
searchlogic-1.6.2 lib/searchlogic/modifiers/square_root.rb
searchlogic-1.6.3 lib/searchlogic/modifiers/square_root.rb
searchlogic-1.6.5 lib/searchlogic/modifiers/square_root.rb
searchlogic-1.6.6 lib/searchlogic/modifiers/square_root.rb