Class: GameValidator::Validator::Result::Failure::Builder
- Inherits:
-
Object
- Object
- GameValidator::Validator::Result::Failure::Builder
- Defined in:
- lib/game_validator/validator/result/failure/builder.rb
Instance Method Summary collapse
Instance Method Details
#call(errors:) ⇒ Object
11 12 13 14 |
# File 'lib/game_validator/validator/result/failure/builder.rb', line 11 def call(errors:) GameValidator::Validator::Result::Failure::new( node: GameValidator::Validator::Result::Failure::Node::new(errors: errors)) end |