The repository for the Hack Bulgaria Core Ruby class. October 2014. Visit the class website at http://ruby.hackbulgaria.com.
Initial draft as of August 31, 2014.
Week | Material |
---|---|
0 | Ruby introduction. Rbenv/Ruby Installer and Git setup. Introduction to the basic Ruby types. |
1 | In depth look of Array, Hash, String, Symbol, Numeric. Ruby blocks. Enumerable and all it's magic. |
2 | OOP Introduction. Classes, Modules and Constants. Method resolution lookup and ancestor chain. Custom enumerable objects. |
3 | Lambda vs Proc semantics. Binding. Exceptions. |
4 | Kernel. Module functions. require vs load. Advanced Enumerable. Enumerator. Regexp. |
5 | Singleton classes. Dynamic method definition. Don't be evil: class_eval and instance_eval. Constants, instance variables API. |
6 | Freedom patching. Refinements. Keyword arguments. All the rage in 2.1. |
7 | Threading or: How I Learned to Stop Worrying and Learned to Love the GIL. JRuby and Rubinius. Threading locals. Fibers. Basic networking. |
8 | RubyGems: The structure of a gem. Gem specifications. Rake. Bundler. |