Displaying 1 result from an estimated 1 matches for "brubach".
Did you mean:
trubach
2007 May 15
3
NOOB question RSPEC
...def initialize
self.balance = Money.new(0, :dollars)
end
end
class Money < Account
attr_accessor :amount, :currency
def initialize(amount, currency)
@amount = amount
@currency = currency
end
end
But still can make it work. It does not pass the spec.
Thanks !
--
Federico Brubacher
www.fbrubacher.com
Colonial Duty Free Shop
www.colonial.com.uy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070514/a6d01241/attachment.html