Class: GraphQL::InternalRepresentation::Node::NoTypedChildren Private

Inherits:
Object
  • Object
show all
Defined in:
lib/graphql/internal_representation/node.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

A specialized, reusable object for leaf nodes. Behaves like a Hash, but doesn't copy itself.

Constant Summary collapse

CHILDREN =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

[].freeze

Instance Method Summary collapse

Instance Method Details

#[](key) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



15
# File 'lib/graphql/internal_representation/node.rb', line 15

def [](key); CHILDREN; end

#any?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)


14
# File 'lib/graphql/internal_representation/node.rb', line 14

def any?; false; end

#dupObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



13
# File 'lib/graphql/internal_representation/node.rb', line 13

def dup; self; end

#eachObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



16
# File 'lib/graphql/internal_representation/node.rb', line 16

def each; end