class DDQL::PostfixNullTypeOperator

Attributes

pattern[R]

Public Class Methods

new(symbol, null_type) click to toggle source
Calls superclass method DDQL::Operator::new
# File lib/ddql/postfix_null_type_operator.rb, line 5
def initialize(symbol, null_type)
  super("IS #{symbol}", "Is #{symbol}", :postfix, 9, false, :boolean)
  @null_type = null_type
  @pattern   = /IS\s+#{symbol}/
end