Sha256: 8bdaa4f23f7960639e5dc31d6df06cc1d62edf2f7366109f71f668a588498f7d

Contents?: true

Size: 294 Bytes

Versions: 1

Compression:

Stored size: 294 Bytes

Contents

module DDQL
  class PostfixNullTypeOperator < Operator
    attr_reader :pattern

    def initialize(symbol, null_type, ordinal)
      super("IS #{symbol}", "Is #{symbol}", :postfix, 9, false, :boolean, ordinal)
      @null_type = null_type
      @pattern   = /IS\s+#{symbol}/
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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