Class: Graphlyte::Syntax::FragmentSpread

Inherits:
Data
  • Object
show all
Includes:
HasFragmentName
Defined in:
lib/graphlyte/syntax.rb

Overview

A reference to the use of a Fragment See: spec.graphql.org/October2021/#FragmentSpread

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from HasFragmentName

included, #name=

Methods inherited from Data

#==, attr_accessor, attr_reader, attributes, #dup, #eql?, #hash, #initialize, #inspect

Constructor Details

This class inherits a constructor from Graphlyte::Data

Instance Attribute Details

#directivesObject

Returns the value of attribute directives.



94
95
96
# File 'lib/graphlyte/syntax.rb', line 94

def directives
  @directives
end

Instance Method Details

#simple?Boolean

Returns:

  • (Boolean)


96
97
98
# File 'lib/graphlyte/syntax.rb', line 96

def simple?
  false
end