Skip to content

Commit

Permalink
readme formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
indisaurusrex committed Aug 11, 2020
1 parent d0a62ac commit e437b12
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
A bank app where you can make deposits and withdrawals, and see a statement of the transactions with dates and running balance.

## How to use

### How to use the app
`irb`
`require './app.rb'`
> create a new account
```
irb
require './app.rb'
```
create a new account:
`a = BankAccount.new`
> make a deposit, include amount and date
make a deposit, include amount and date:
`a.deposit(1000, "14-01-2020")`
> make a withdrawal, include amount and date
make a withdrawal, include amount and date:
`a.withdraw(10, "15-01-2020")`
> print a statement
print a statement:
`a.print_statement`

### How to run the tests
Expand Down

0 comments on commit e437b12

Please sign in to comment.