Method: GraphQL::Language::Nodes::FragmentDefinition#initialize
- Defined in:
- lib/graphql/language/nodes.rb
#initialize(name: nil, type: nil, directives: NONE, selections: NONE, filename: nil, pos: nil, source: nil, line: nil, col: nil) ⇒ FragmentDefinition
Returns a new instance of FragmentDefinition.
451 452 453 454 455 456 457 458 459 460 461 |
# File 'lib/graphql/language/nodes.rb', line 451 def initialize(name: nil, type: nil, directives: NONE, selections: NONE, filename: nil, pos: nil, source: nil, line: nil, col: nil) @name = name @type = type @directives = directives @selections = selections @filename = filename @pos = pos @source = source @line = line @col = col end |