- Ruby - what is bundler? - Tom Clark
- git - tags vs branches - Tom Bates
- git - rebase vs merge - Tom Altree
- Ruby modules and
include
,extend
,prepend
- Duncan Smith - Ruby's Enumerable and Enumerators - John Foulkes
- Ruby's blocks, procs and lambdas - Chris Rigby
- Inheritance vs Composition, with examples in Ruby - James Walsh
Last active
August 29, 2015 14:16
-
-
Save tooky/b2f6f007f56fb2a372f0 to your computer and use it in GitHub Desktop.
otb-homework-mar-2015
- Complete the remaining exercises (note: you can run each file individually using
rspec <filename>
)
- Work through them in the following order:
- spec/open_classes_spec.rb
- spec/dice_project_spec.rb
- spec/inheritance_spec.rb
- spec/modules_spec.rb
- spec/scope_spec.rb
- spec/class_methods_spec.rb
- spec/message_passing_spec.rb
- spec/proxy_object_project_spec.rb
- spec/to_str_spec.rb
- write a 10 minute presentation on your selected topic
- Use rspec to test drive the harry potter kata
- Fork the academy project on github: https://github.com/tooky/otb-academy-mar-2015/
- Create a new branch
- Work in the
harry_potter
directory - use
rspec --init
- Use small, frequent commits showing how you worked through the problem.
- Write good commit messages
- Send me a pull request with your code
- Take another stab at the bowling kata. Keep in mind the idea of shameless green - focus on working code first, then use refactoring to improve the design.
- Commit frequently and use the commit messages to document your progress.
- Create a pull request back to the main repository with your solution.
- Suggested test cases:
- All Gutters (20*0 => 0)
- All Singles (20*1 => 20)
- All Spares (21*5 => 150)
- All Strikes (12*10 => 300)
- Mixed Game ([2,4,5,3,1,6,8,2,0,2,6,4,10,7,3,0,10,6,4,7] => 116)
- Write a blog post explaining Ruby Method dispatch, reference
include
,extend
,prepend
andsuper
(if you don't have a blog you can just publish a gist. - Read Think Like (a) Git and create a short presentation about the thing you found most interesting, confusing or suprising.
- As a group - watch Sandi Metz's Magic Tricks of Testing, split into two groups and produce posters showing your most important takeaways.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment