Sha256: 4168af842020763638c342d7dda4c95b54edb79e95c2b0cf64ebfd8d8726af99

Contents?: true

Size: 368 Bytes

Versions: 1

Compression:

Stored size: 368 Bytes

Contents

module DDQL
  class InfixFloatMapOperator < Operator
    attr_reader :comparison, :op_type, :op_symbol

    def initialize(symbol, name, ordinal, op_type, comparison)
      super(symbol, name, :infix, 4, false, :boolean, ordinal)
      @op_type    = op_type
      @comparison = comparison
      @op_symbol  = :"op_float_map_#{op_type}_#{comparison}"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ddql-1.0.0 lib/ddql/infix_float_map_operator.rb