Class: GameValidator::Validator::Result::Failure::Node

Inherits:
Object
  • Object
show all
Extended by:
Dry::Initializer
Defined in:
lib/game_validator/validator/result/failure/node.rb

Instance Method Summary collapse

Instance Method Details

#accept(visitor) ⇒ Object



14
15
16
17
# File 'lib/game_validator/validator/result/failure/node.rb', line 14

def accept(visitor)
  visitor = Types.Interface(:handle_validation_error).call(visitor)
  visitor.handle_validation_error(self)
end