Open
Conversation
added 10 commits
February 29, 2016 14:04
…ance methods. Added a raise argument error if initial balance is less than 0. Errthang works.
…unts.csv. Creates a new array and inserts a new hash for each row.
…nfo to the hash. Learned how to use self methods (still a little hazy on it). Completed Wave 2 with no additional enhancements.
… reduces the work of having to manually type out each key => each row col in the excel sheet. Added a self.new_account for funsies, if you don't feel like initializing it normally. Reformatted the Account class. Added a SavingsAccount and Checking Account class which follow the traits <Account with changes to certain methods based on withdrawal fees or withdrawal check fees. Wave 3 is complete.
… ex: withdrawal fees). Added an all_together_now class to attempt to bind all 3 csv data together.
…ild classes. Refered to self.class::CONSTANT instead of CONSTANT within classes/methods. Changed puts messages to be more descriptive and included a withdrawal fee statement.
…o changed methods to match prompt => self.all.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
To run the code.. when you generate Bank::Account.new you have to manually add what id and money are equal to => (id: 10, money: 1010)