source = Account.first destination = Account.last transfer amount: 10, from: source, to: destination
tip: Ruby 1.9 new literal Hash syntax.
This shows Ruby improving even more, as a good host for internal DSLs.
source = Account.first destination = Account.last transfer amount: 10, from: source, to: destination
tip: Ruby 1.9 new literal Hash syntax.
This shows Ruby improving even more, as a good host for internal DSLs.
Cool 😀