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

Cas/master #73

Open
wants to merge 8 commits into
base: cas/master
Choose a base branch
from
Open

Cas/master #73

wants to merge 8 commits into from

Conversation

CShekta
Copy link

@CShekta CShekta commented Oct 13, 2015

require "./bank_account"
require "./savings_and_checking"

@@ -18,7 +18,7 @@ def initialize(id, balance, open_date, owner = nil)
def withdraw(withdraw_amount)
if @balance < withdraw_amount
puts "Insufficient funds: withdraw denied. Your balance is #{@balance}."
elsif @balance >= withdraw_amount
elsif
@balance = @balance.to_i - withdraw_amount.to_i

Choose a reason for hiding this comment

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

Watch your indentation here - you'll want to have an additional indent within the elsif block

@kariabancroft
Copy link

Nice job using your git commit to track progress. Looks good, I think there are a few opportunities for you to clean a few things up.

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