I was just checking to see if I was writing my code correctly, for this checking class, and sure enough the checking class was accessing Account correctly. I just had to initialize it correctly.
class Checking < Account
def
super
end
def balance()
@balance = principal * (1 + interest_rate / 365) ** 365
end
end
See Question&Answers more detail:os