Method: TinyGQL::Nodes::NotNullType#initialize

Defined in:
lib/tinygql/nodes.rb

#initialize(pos, type) ⇒ NotNullType

Returns a new instance of NotNullType.



163
164
165
166
# File 'lib/tinygql/nodes.rb', line 163

def initialize pos, type
  super(pos)
  @type = type
end