Method: GraphQL::Language::Nodes::FragmentDefinition.from_a

Defined in:
lib/graphql/language/nodes.rb

.from_a(filename, line, col, name, type, directives, selections) ⇒ Object



463
464
465
# File 'lib/graphql/language/nodes.rb', line 463

def self.from_a(filename, line, col, name, type, directives, selections)
  self.new(filename: filename, line: line, col: col, name: name, type: type, directives: directives, selections: selections)
end