class GraphQL::StaticValidation::TypeStack::LeaveWithStrategy
Public Class Methods
new(stack, strategy)
click to toggle source
# File lib/graphql/static_validation/type_stack.rb, line 204 def initialize(stack, strategy) @stack = stack @strategy = strategy end
Public Instance Methods
call(node, parent)
click to toggle source
# File lib/graphql/static_validation/type_stack.rb, line 209 def call(node, parent) @strategy.pop(@stack, node) end