Level 2 — Intermediate
These lessons cover classes and objects, modules and mixins, exceptions, files, gems and Bundler, JSON and HTTP, testing, and the everyday tools of a working Ruby developer. Recommended: the Level 1 lessons, especially methods, blocks, arrays, and hashes.
Lessons in this module
- 1. Classes and Objects 6 min
- 2. Accessors: attr_reader, attr_writer, attr_accessor 5 min
- 3. Instance Methods, self, and to_s 5 min
- 4. Class Methods and Class-Level Data 5 min
- 5. Inheritance and super 6 min
- 6. Encapsulation: public, private, and protected 5 min
- 7. Polymorphism and Duck Typing 5 min
- 8. Modules: Namespaces and Mixins 6 min
- 9. Comparable and Enumerable 6 min
- 10. Struct and Data 5 min
- 11. Exceptions in Depth 7 min
- 12. Procs and Lambdas 6 min
- 13. Pattern Matching 6 min
- 14. Working with Files 6 min
- 15. Frozen Objects and Mutability 5 min
- 16. Gems and Bundler 6 min
- 17. Working with JSON and YAML 5 min
- 18. HTTP Requests and APIs 6 min
- 19. Environment Variables and Configuration 4 min
- 20. Logging 4 min
- 21. Testing with Minitest 6 min
- 22. Testing with RSpec 5 min
- 23. Debugging Ruby 5 min
- 24. Regular Expressions 6 min
- 25. Dates and Times 5 min
- 26. Code Organization and RuboCop 5 min