Exception: ECSHelper::Error::Base
- Inherits:
-
StandardError
- Object
- StandardError
- ECSHelper::Error::Base
- Defined in:
- lib/ecs_helper/error/base.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(builder) ⇒ Base
constructor
A new instance of Base.
- #message ⇒ Object
Constructor Details
#initialize(builder) ⇒ Base
Returns a new instance of Base.
2 3 4 |
# File 'lib/ecs_helper/error/base.rb', line 2 def initialize(builder) @builder = builder end |
Instance Method Details
#message ⇒ Object
6 7 8 9 |
# File 'lib/ecs_helper/error/base.rb', line 6 def return @builder.join("\n") if @builder "Failed" end |