class GraphQL::Language::Nodes::WrapperType

Base class for non-null type names and list type names

Attributes

of_type[RW]

Public Instance Methods

initialize_node(of_type: nil) click to toggle source
# File lib/graphql/language/nodes.rb, line 74
def initialize_node(of_type: nil)
  @of_type = of_type
end
scalars() click to toggle source
# File lib/graphql/language/nodes.rb, line 78
def scalars
  [of_type]
end