Saturday, August 10, 2013

Ruby for Beginners V2

Started the Friday on Team Treehouse with Website Basics and Aesthetic Foundations. I moved on to correct something on my One Month Rails app then back to Tree House for HTML Basics and Ruby Rapids. I'm on the fence with Tree House... the quizzes at the end seem pointless.

After a little research on Reddit I came across this post which introduced me to Ruby for Beginners V2 by LearnStreet and I'm totally digging it. I was up until the wee hours of the morning working my way through the lessons and got stuck on Lesson 5: Method Definition - 13: Method withdraw.

13: Method withdraw We know now how to access the instance variable, but how do we change the value? This is where variable assignment comes in. Can you now implement the withdraw! method on account object, which takes one parameter amount and reduces the balance by the specified amount? After defining the method, go ahead and withdraw 100 dollars from the account and check the balance.
So that's where I'm starting today. Hopefully I can get over my little roadblock and complete the lesson today. Laissez les bon temps rouler, y'all.

Friday Study Hours: 7:30




No comments:

Post a Comment