- Clone this repository into the terminal and run
bundle
to ensure all dependencies are installed.
- Enter pry to access a terminal with all files required.
- Create an account - e.g.
my_account = BankAccount.new
- Add a transaction - e.g.
my_account.deposit(100)
- Add another transaction - e.g.
my_account.withdraw(50)
- Print a statement - e.g.
my_account.display_statement
As a user
So that I can add money to my account,
I can make a deposit.
As a user
So that I can spend money,
I can make a withdrawal.
As a user
So that I can see my bank account transactions ordered on the page,
I can print a statement of my transactions with the date, amount and balance.