Beginner
Level 1 — Beginner
Start here if you have never written a line of Ruby before. No programming experience is required — work through these lessons in order, since each one builds on the last.
Lessons in this module
- 1. What Is Ruby? 4 min
- 2. Why Learn Ruby? 3 min
- 3. What Can You Build With Ruby? 3 min
- 4. Installing Ruby 4 min
- 5. Setting Up Your Development Environment 3 min
- 6. Your First Ruby Program 4 min
- 7. How Ruby Code Runs 4 min
- 8. Ruby Syntax Basics 5 min
- 9. Printing Output: puts, print, and p 4 min
- 10. Variables 5 min
- 11. Data Types 4 min
- 12. Numbers 5 min
- 13. Strings 5 min
- 14. String Methods 5 min
- 15. Symbols 4 min
- 16. Booleans and nil 5 min
- 17. Operators 5 min
- 18. Getting User Input 4 min
- 19. Type Conversion 5 min
- 20. Conditionals: if, elsif, else 5 min
- 21. unless and Modifier Conditions 4 min
- 22. case Expressions 5 min
- 23. Loops: while and until 4 min
- 24. Iterators: times, each, and upto 5 min
- 25. Ranges 4 min
- 26. break and next 4 min
- 27. Arrays 6 min
- 28. Array Methods 6 min
- 29. Hashes 6 min
- 30. Methods 6 min
- 31. Method Arguments 6 min
- 32. Return Values 5 min
- 33. Variable Scope 5 min
- 34. Blocks 6 min
- 35. map, select, and reduce 6 min
- 36. Basic Error Handling 6 min
- 37. Comments and Code Style 4 min
- 38. Requiring Files and Libraries 5 min