Skip to content

Commit

Permalink
Bring in missing functionality from ProxyObject
Browse files Browse the repository at this point in the history
  • Loading branch information
albus522 committed Aug 13, 2024
1 parent 25469d9 commit 21b3dad
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/delayed/message_sending.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
module Delayed
class DelayProxy < BasicObject
undef_method :==
undef_method :equal?

# Let DelayProxy raise exceptions.
define_method(:raise, ::Object.instance_method(:raise))

def initialize(payload_class, target, options)
@payload_class = payload_class
@target = target
Expand Down

0 comments on commit 21b3dad

Please sign in to comment.