-
Notifications
You must be signed in to change notification settings - Fork 20
Lmm/master #55
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
Lmm/master #55
Conversation
…poses another transaction fee
It looks like your indentation may be off. Check you "tab indent" settings in your text editor. It should be set to two spaces. (maybe you have already done this since you submitted this PR) |
puts "Your balance was #{@balance}." | ||
|
||
if @balance - withdraw_amount <= @min_balance | ||
puts "Don't drop below 10 dollars w/ transaction fee." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice to use your @min_balance
var in this string to ensure that if that variable was changed, the error message would also be chaqnged.
Nice job! I like the way you've used inheritance to centralize the code which is the same across the board |
Waves 1-3 completed with all optionals.