Sha256: 554ca0ab3162c916f82ff9d86571ba1faa4977c3ab40bb7af0997f1fad1374a2

Contents?: true

Size: 249 Bytes

Versions: 12

Compression:

Stored size: 249 Bytes

Contents

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

12 entries across 12 versions & 1 rubygems

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