Class: GraphQL::Language::Nodes::NonNullType

Inherits:
Object
  • Object
show all
Defined in:
lib/graphql/libgraphqlparser/monkey_patches/abstract_node.rb

Instance Method Summary collapse

Instance Method Details

#typeObject


22
# File 'lib/graphql/libgraphqlparser/monkey_patches/abstract_node.rb', line 22

def type; self.of_type; end

#type=(inner_type) ⇒ Object


19
20
21
# File 'lib/graphql/libgraphqlparser/monkey_patches/abstract_node.rb', line 19

def type=(inner_type)
  self.of_type = inner_type
end