Permalink
Browse files

There is no @after_complete atm.

  • Loading branch information...
i0rek committed Jun 25, 2012
1 parent d42813a commit be0253cc204312d1fc805dc2ac2816482b1283f8
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/typhoeus/requests/marshal.rb
@@ -5,7 +5,7 @@ module Marshal
# `on_complete` and `after_complete` handlers, since they cannot be
# marshalled.
def marshal_dump
- (instance_variables - ['@on_complete', '@after_complete', :@on_complete, :@after_complete]).map do |name|
+ (instance_variables - ['@on_complete', :@on_complete]).map do |name|
[name, instance_variable_get(name)]
end
end

0 comments on commit be0253c

Please sign in to comment.