Exception: Emendate::DerivedSegmentError
- Inherits:
-
StandardError
- Object
- StandardError
- Emendate::DerivedSegmentError
- Includes:
- Module.new
- Defined in:
- lib/emendate/errors.rb
Instance Attribute Summary collapse
-
#sources ⇒ Object
readonly
Returns the value of attribute sources.
Instance Method Summary collapse
-
#initialize(sources, message) ⇒ DerivedSegmentError
constructor
A new instance of DerivedSegmentError.
Constructor Details
#initialize(sources, message) ⇒ DerivedSegmentError
Returns a new instance of DerivedSegmentError.
24 25 26 27 28 |
# File 'lib/emendate/errors.rb', line 24 def initialize(sources, ) @sources = sources m = "With sources: #{sources.type_string}: #{}" super(m) end |
Instance Attribute Details
#sources ⇒ Object (readonly)
Returns the value of attribute sources.
22 23 24 |
# File 'lib/emendate/errors.rb', line 22 def sources @sources end |