CSC302 2007S, Class 29: Ruby (2) Admin: * For Friday, read Part I and Part II of the alliterative Rolling with Ruby on Rails Revisited. * I sent all of you a sample solution to exam problem 4. Please let me know if you have any questions. * No office hours today for the same reason as Monday. I should be available in the afternoon. * Next week's Thursday extra is Tuesday at noon. * Happy spring! Overview: * About labs. * Lab. /About Lab/ * Why do we like labs? * Engages students (useful for 9am classes and 8am classes) * YOu realize quicker that you don't know something when you actually try it * Labs provide more of a support structure than does homework * Lectures and readings don't prepare you for failure/mistakes * Good labs encourage a particular approach to language exploration /Lab/ * Follow the link in the outline. * Some funky operations; what do they do? (Hint, all are bitwise) * ~ * ^ * | * Observation, ! is a prefix operation * How do you clear the screen? * How did you write titleCase?