Class: GameValidator::Validator::Result
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- GameValidator::Validator::Result
- Defined in:
- lib/game_validator/validator/result.rb,
lib/game_validator/validator/result/failure.rb,
lib/game_validator/validator/result/failure/node.rb,
lib/game_validator/validator/result/failure/builder.rb
Defined Under Namespace
Classes: Failure
Instance Method Summary collapse
- #call(**args) ⇒ Object
-
#initialize(result:, execute:) ⇒ Result
constructor
A new instance of Result.
Constructor Details
Instance Method Details
#call(**args) ⇒ Object
15 16 17 |
# File 'lib/game_validator/validator/result.rb', line 15 def call(**args) @execute.(to_h.merge(args)) end |