Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sat/master #74

Open
wants to merge 4 commits into
base: sat/master
Choose a base branch
from
Open

Sat/master #74

wants to merge 4 commits into from

Conversation

trowbrsa
Copy link

Most recent versions of Bank Account project. I still have some work to do in owner.rb file to be able to successfully create a new instance of an existing owner hash.


#create instance variable for balance?
def initialize (id, balance, open_date)
if balance < 0

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Watch out for your indentation here - you don't need an additional indent when you start your if statement, only inside the block of it

@kariabancroft
Copy link

Nice job with your account functionality. I think that your owner class could use a bit more work since I'm not sure the way you've set up inheritance is the way you want/intend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants