Class: YardTypes::Failure
Overview
Returned from #check when a type check fails, providing a reference to the TypeConstraint and a means of generating error messages describing the error.
Instance Method Summary collapse
-
#initialize ⇒ Failure
constructor
A new instance of Failure.
Methods inherited from Result
Constructor Details
#initialize ⇒ Failure
Returns a new instance of Failure.
34 35 36 |
# File 'lib/yard_types.rb', line 34 def initialize super(false) end |