Exception: Spoom::Sorbet::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Spoom::Sorbet::Error
- Extended by:
- T::Sig
- Defined in:
- lib/spoom/sorbet.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(message, result) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, result) ⇒ Error
Returns a new instance of Error.
29 30 31 32 33 |
# File 'lib/spoom/sorbet.rb', line 29 def initialize(, result) super() @result = result end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
21 22 23 |
# File 'lib/spoom/sorbet.rb', line 21 def result @result end |