Class: Paquito::PackError
Instance Attribute Summary collapse
-
#receiver ⇒ Object
readonly
Returns the value of attribute receiver.
Instance Method Summary collapse
-
#initialize(msg, receiver = nil) ⇒ PackError
constructor
A new instance of PackError.
Constructor Details
#initialize(msg, receiver = nil) ⇒ PackError
Returns a new instance of PackError.
9 10 11 12 |
# File 'lib/paquito/errors.rb', line 9 def initialize(msg, receiver = nil) super(msg) @receiver = receiver end |
Instance Attribute Details
#receiver ⇒ Object (readonly)
Returns the value of attribute receiver.
7 8 9 |
# File 'lib/paquito/errors.rb', line 7 def receiver @receiver end |