module GraphQL::Language::Nodes::AbstractNode::DefinitionNode

Attributes

definition_line[R]

This AST node’s {#line} returns the first line, which may be the description. @return [Integer] The first line of the definition (not the description)

Public Class Methods

new(options = {}) click to toggle source
Calls superclass method
# File lib/graphql/language/nodes.rb, line 17
def initialize(options = {})
  @definition_line = options.delete(:definition_line)
  super(options)
end