lib/replica.rb in replica-1.0.2 vs lib/replica.rb in replica-1.1.0
- old
+ new
@@ -111,11 +111,11 @@
def initialize(target, replica)
@target = target
@replica = replica
end
- def method_missing(method, *args)
- @target.with_replica_block(@replica) { @target.send(method, *args) }
+ def method_missing(method, *args, &block)
+ @target.with_replica_block(@replica) { @target.send(method, *args, &block) }
end
end
end
end
Base.extend(Base::Replica)