Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
RubyWeek 9
FinalTic-Tac-ToeFinish it and send a pull request by nextclass
ProjectsDue next classDemo in class (must be available onRubyGems.org)Needs Travis Testing and a README(good rdoc and/or w...
AgendaControlExceptionsMocks and StubsrDoc
ControlControlling the flow of your applicationBEWARE: if-else-death, Switch-Statement-Smell (http://c2.com/cgi/wiki?Switc...
Conditionalsif, elseunless, elseand && (BEWARE: precedence!!)or || (BEWARE: precedence!!)||=conditional ? then : else
Loop-de-Loop!whileuntiltimes
Exceptional Ruby!Begin, raise, Rescue, EndCatch, throwExceptional Ruby:  http://exceptionalruby.com/
Mocks & Stubshttp://rubydoc.info/gems/rspec-mocks/framesIn the tic-tac-toe-steps.rb
rDocgem install rdocrdoc test.rbhttp://rdoc.sourceforge.net/doc/index.html
Questions??????????
Hang Out TimeTic-Tac-Toe QuestionsFinal Gem QuestionsFun Trivia Questions
For Next WeekSubmit Tic-Tac-ToeDeploy your gem to RubyGems.orgE-mail me any feedback, questions, oradditional topics/gems ...
Upcoming SlideShare
Loading in …5
×

Week9

390 views

Published on

UWERuby Week 9 slides

Published in: Education
  • Be the first to comment

  • Be the first to like this

Week9

  1. 1. RubyWeek 9
  2. 2. FinalTic-Tac-ToeFinish it and send a pull request by nextclass
  3. 3. ProjectsDue next classDemo in class (must be available onRubyGems.org)Needs Travis Testing and a README(good rdoc and/or wiki are also good)
  4. 4. AgendaControlExceptionsMocks and StubsrDoc
  5. 5. ControlControlling the flow of your applicationBEWARE: if-else-death, Switch-Statement-Smell (http://c2.com/cgi/wiki?SwitchStatementsSmell)
  6. 6. Conditionalsif, elseunless, elseand && (BEWARE: precedence!!)or || (BEWARE: precedence!!)||=conditional ? then : else
  7. 7. Loop-de-Loop!whileuntiltimes
  8. 8. Exceptional Ruby!Begin, raise, Rescue, EndCatch, throwExceptional Ruby: http://exceptionalruby.com/
  9. 9. Mocks & Stubshttp://rubydoc.info/gems/rspec-mocks/framesIn the tic-tac-toe-steps.rb
  10. 10. rDocgem install rdocrdoc test.rbhttp://rdoc.sourceforge.net/doc/index.html
  11. 11. Questions??????????
  12. 12. Hang Out TimeTic-Tac-Toe QuestionsFinal Gem QuestionsFun Trivia Questions
  13. 13. For Next WeekSubmit Tic-Tac-ToeDeploy your gem to RubyGems.orgE-mail me any feedback, questions, oradditional topics/gems you want me tocover

×