class

GraphQL::Language::NameOnlyNode

Inherits GraphQL::Language::ASTNode < Reference < Object

Base class for nodes whose only value is a name (no child nodes or other scalars)

Constructors

new(name : String, **rest)
Source

Instance methods

==(other : self)

Returns true if this reference is the same as other. Invokes same?.

hash(hasher)

See Object#hash(hasher)

name
name=(name : String)