Ruby Tuesday May 22, 2012

783 views
645 views

Published on

Slides from Ottawa Ruby's May 2012 meetup.

Has announcements for upcoming speakers, and details on some practice Ruby katas and Whenbot One-Liners.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
783
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Ruby Tuesday May 22, 2012

  1. 1. Welcome toRuby Tuesday :) May 22, 2012
  2. 2. Tonight’s Plan1. Announcements2. Introduce yourselves3. Presentation: Charles Max Wood4. Break: food and networking5. A bit of hacking
  3. 3. Tonight’s Plan1. Announcements2. Introduce yourselves3. Presentation: Charles Max Wood4. Break: food and schmoozing5. A bit of hacking
  4. 4. June Speaker:Jeff Casimir Returns!Jumpstart Lab FounderRuby, Rails, jQueryTeacherAs seen in Codeschool’sjQuery Air: First Flight
  5. 5. June Speaker:Jeff Casimir Returns! Talk TopicAdventures on the Golden Path (Rails 4)
  6. 6. August Speaker: Avdi GrimmSpeakerAuthor: ExceptionalRuby, Objects on RailsRuby Rogue
  7. 7. August Speaker: Avdi Grimm Talk TopicTo Be Announced
  8. 8. Upcoming Speaker: Russ OlsenAuthor: Design Patternsin Ruby
  9. 9. Upcoming Speaker: Russ OlsenAuthor: Design Patternsin RubyAuthor: Eloquent Ruby
  10. 10. Upcoming Speaker: Russ OlsenAuthor: Design Patternsin RubyAuthor: Eloquent RubyTopic: Chosen by vote
  11. 11. Upcoming Speaker: Russ OlsenSurvey coming this week Idiomatic Ruby How Ruby is Implemented A talk about Explaining Tech Or, he takes requests :-)
  12. 12. Tonight’s Speaker: Charles Max WoodRuby/Rails Coach andTeacherTeachMeToCode.comRuby RoguesJavascript JabberRuby Freelancers
  13. 13. Tonight’s Plan1. Announcements2. Introduce yourselves3. Presentation: Charles Max Wood4. Break: food and schmoozing5. A bit of hacking
  14. 14. IntroduceyourselvesWe won’t bite. ;)
  15. 15. Tonight’s Plan1. Announcements2. Introduce yourselves3. Presentation: Charles Max Wood4. Break: food and schmoozing5. A bit of hacking
  16. 16. Tonight’s Speaker Charles Max Wood Ruby / Rails Coach TeachMeToCode.com, Podcasts:Ruby Rogues, JavascriptJabber, Ruby Freelancers
  17. 17. Tonight’s Plan1. A few announcements2. Introduce yourselves3. Presentation: Charles Max Wood4. Break: food and schmoozing5. A bit of hacking
  18. 18. Break: Food and Schmoozing... (around 20-30 minutes.) After the break: A bit of hacking
  19. 19. Tonight’s Plan1. A few announcements2. Introduce yourselves3. Presentation: Charles Max Wood4. Break: food and schmoozing5. A bit of hacking
  20. 20. A Bit of Hacking1. Yellow Belt Kata2. Gilded Rose Refactoring Kata3. Whenbot: One-Liners
  21. 21. Kata steps1. Clone the repository2. RVM: create a new gemset3. Run ‘bundle install’ 1. May need to ‘gem install bundler’ first4. Run ‘rake’5. Each page has instructions
  22. 22. Cloning the Repo$ git clone https://github.com/jimweirich/ gilded_rose_kata
  23. 23. A Bit of Hacking1. Yellow Belt Kata2. Gilded Rose Refactoring Kata3. Whenbot: One-Liners
  24. 24. Beginner Katas Yellow Belt KatasLevel: EasyResults: Solve problems using yourRuby SkillzLink: http://bit.ly/yellow-belt-kataOr, Google “Ruby yellow belt kata”
  25. 25. Yellow Belt Kataslib/ spec/ -- fib.rb -- fib_spec.rb -- fizzbuzz.rb -- fizzbuzz_spec.rb -- gcd.rb -- gcd_spec.rb ... ... Choose which one you want to work on.
  26. 26. Yellow Belt Kataslib/reverseword.rb# Reverse the given input stringdef reverse_word(word)end
  27. 27. Yellow Belt Katasspec/reverseword_spec.rbrequire reverseworddescribe "#reverse_word" do before { pending } When (:result) { reverse_word(word) } context "with any word" do Given(:word) { "looc" } Then { result.should == "cool" } endend
  28. 28. Yellow Belt Katasspec/reverseword_spec.rbrequire reverseworddescribe "#reverse_word" do before { pending } When (:result) { reverse_word(word) } context "with any word" do Given(:word) { "looc" } Then { result.should == "cool" } endend
  29. 29. Yellow Belt Katasspec/reverseword_spec.rbrequire reverseworddescribe "#reverse_word" do When (:result) { reverse_word(word) } context "with any word" do Given(:word) { "looc" } Then { result.should == "cool" } endend
  30. 30. Yellow Belt Katahttp://bit.ly/yellow-belt-kata
  31. 31. A Bit of Hacking1. Yellow Belt Kata2. Gilded Rose Refactoring Kata3. Whenbot: One-Liners
  32. 32. Gilded Rose KataLevel: MediumResults: Practice refactoring via TDDLink: http://bit.ly/refactoring-kataOr, Google “Ruby yellow belt kata”
  33. 33. Gilded Rose Kata
  34. 34. Gilded Rose Katahttp://bit.ly/refactoring-kata
  35. 35. A Bit of Hacking1. Yellow Belt Kata2. Gilded Rose Refactoring Kata3. Whenbot: One-Liners
  36. 36. Whenbot One-LinersLevel: Easy-MediumResults: Various Ruby/Rails tasks.Contribute to Open-SourceLink: http://bit.ly/whenbot-one-liners
  37. 37. Whenbot One-Liners
  38. 38. Whenbot One-LinersStep by step instructions are athttp://bit.ly/whenbot-one-liners
  39. 39. Questions?
  40. 40. Let’s Hack!•Choose what you want to work on•Holler / raise hand with any questions•Most importantly, have fun! :)
  41. 41. KatasBeginners: Google “Ruby yellow belt kata” Or: http://bit.ly/yellow-belt-kataIntermediate/Advanced: http://bit.ly/refactoring-kataVarious + Open Source http://bit.ly/whenbot-one-liners

×