Exception: Stic::BlobError
Direct Known Subclasses
Instance Attribute Summary collapse
-
#blob ⇒ Object
readonly
Returns the value of attribute blob.
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ BlobError
constructor
A new instance of BlobError.
Constructor Details
#initialize(opts = {}) ⇒ BlobError
Returns a new instance of BlobError.
15 16 17 18 19 |
# File 'lib/stic/errors.rb', line 15 def initialize(opts = {}) @blob = opts.fetch :blob, nil super opts end |
Instance Attribute Details
#blob ⇒ Object (readonly)
Returns the value of attribute blob.
13 14 15 |
# File 'lib/stic/errors.rb', line 13 def blob @blob end |