This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Я решил оставить его исходный интерфейс для класса Account, будем считать, | |
# что я получил это код от предшественника и теперь мне надо реализовать | |
# перевод денег с одно счета на другой: | |
class Account | |
def decrease_balance(amount); end | |
def increase_balance(amount); end | |
def balance; end | |
def update_log(message, amount); end | |
def self.find(id); end |