Class: GraphQL::Language::Nodes::FieldDefinition
- Inherits:
-
AbstractNode
- Object
- AbstractNode
- GraphQL::Language::Nodes::FieldDefinition
- Defined in:
- lib/graphql/language/nodes.rb
Constant Summary
Constants inherited from AbstractNode
Instance Attribute Summary collapse
-
#comment ⇒ Object
readonly
Returns the value of attribute comment.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
Attributes inherited from AbstractNode
Instance Method Summary collapse
Methods inherited from AbstractNode
#==, #children, #children_method_name, children_of_type, #col, #definition_line, #delete_child, inherited, #initialize_copy, #line, #position, #replace_child, #scalars, #to_query_string
Instance Attribute Details
#comment ⇒ Object (readonly)
Returns the value of attribute comment.
675 676 677 |
# File 'lib/graphql/language/nodes.rb', line 675 def comment @comment end |
#description ⇒ Object (readonly)
Returns the value of attribute description.
675 676 677 |
# File 'lib/graphql/language/nodes.rb', line 675 def description @description end |
Instance Method Details
#merge(new_options) ⇒ Object
686 687 688 689 690 691 |
# File 'lib/graphql/language/nodes.rb', line 686 def merge() if (f = .delete(:fields)) [:arguments] = f end super end |