Exception: ChupaText::EncryptedError
- Defined in:
- lib/chupa-text/error.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ EncryptedError
constructor
A new instance of EncryptedError.
Constructor Details
#initialize(data) ⇒ EncryptedError
Returns a new instance of EncryptedError.
23 24 25 26 |
# File 'lib/chupa-text/error.rb', line 23 def initialize(data) @data = data super("Encrypted data: <#{data.path}>(#{data.mime_type})") end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
22 23 24 |
# File 'lib/chupa-text/error.rb', line 22 def data @data end |