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

Completed Wave 3 Bank Accounts #58

Open
wants to merge 5 commits into
base: rmt/master
Choose a base branch
from

Conversation

rmtolmach
Copy link

The savings and checking accounts have been added.

@@ -7,7 +7,7 @@ def initialize(id, balance, open_date)
@id = id
@balance = balance
@open_date = open_date
raise ArgumentError.new("Permission Denied") if balance < "0"
raise ArgumentError.new("Permission Denied") if balance < 0

Choose a reason for hiding this comment

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

Nice use of the single line conditional

@kariabancroft
Copy link

Nice job on this! I like the way you used the super with an alternative value once you've added the fees

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