lib/paquito/errors.rb in paquito-0.1.0 vs lib/paquito/errors.rb in paquito-0.2.0
- old
+ new
@@ -3,9 +3,10 @@
module Paquito
Error = Class.new(StandardError)
class PackError < Error
attr_reader :receiver
+
def initialize(msg, receiver = nil)
super(msg)
@receiver = receiver
end
end