Class: GraphQL::StaticValidation::DefinitionDependencies::NodeWithPath
- Inherits:
-
Object
- Object
- GraphQL::StaticValidation::DefinitionDependencies::NodeWithPath
- Extended by:
- Delegate
- Defined in:
- lib/graphql/static_validation/definition_dependencies.rb
Instance Attribute Summary collapse
-
#node ⇒ Object
readonly
Returns the value of attribute node.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(node, path) ⇒ NodeWithPath
constructor
A new instance of NodeWithPath.
Methods included from Delegate
Constructor Details
#initialize(node, path) ⇒ NodeWithPath
Returns a new instance of NodeWithPath.
108 109 110 111 |
# File 'lib/graphql/static_validation/definition_dependencies.rb', line 108 def initialize(node, path) @node = node @path = path end |
Instance Attribute Details
#node ⇒ Object (readonly)
Returns the value of attribute node.
107 108 109 |
# File 'lib/graphql/static_validation/definition_dependencies.rb', line 107 def node @node end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
107 108 109 |
# File 'lib/graphql/static_validation/definition_dependencies.rb', line 107 def path @path end |