lib/surrounded/README.md in surrounded-0.4.0 vs lib/surrounded/README.md in surrounded-0.4.1
- old
+ new
@@ -147,10 +147,10 @@
self
end
end
# this uses SimpleDelegator and Surrounded
- role :source do
+ role :source, :wrap do
def transfer
self.balance -= amount
destination.balance += amount
__getobj__
end
\ No newline at end of file