Ruby
Code: Ruby
33 Ruby typing lessons in 5 modules: block and symbol drills, real snippets, 5 speed runs, and 4 assessment simulations.
- 33 lessons
- About 2.8 hrs
- 5 parts
- 4 full simulations
- $9
What's in this course
5 parts, 33 lessons. Each lesson takes a few minutes.
- 1Operators & SymbolsRhythm drillUp next42 wordsFree
- 2Blocks & PipesCurly-brace blocks and |param| lists8 linesFree
- 3Symbols & Hash Keys:name literals, key: value, and hash rockets8 linesFree
- String InterpolationPound-brace interpolation and squiggly heredocs10 lines
Free preview ends here
The other 26 lessons and 4 full simulations are in Code: Ruby: $9, one time, lifetime access.
- Safe Navigation & Defaults&., ||=, and ternary conditionals7 lines
- Ranges & SplatsTwo-dot ranges, *args, **opts, and &:method9 lines
- Checkpoint: Symbol FluencyBlocks, symbols, and interpolation in one longer drill8 lines
- KeywordsReserved words2 lines
- DeclarationsVariables and constants4 lines
- Classes & Modulesattr_reader, initialize, and namespacing16 lines
- Guard Clauses & ModifiersTrailing if/unless the Ruby way7 lines
- Idiomatic PatternsOne-liners Rubyists love6 lines
- Enumerable Chainseach_with_object, zip, tally, and friends7 lines
- Checkpoint: Keywords & IdiomsAn Enumerable class mixing this module's material17 lines
- Control FlowIdiomatic branching11 lines
- Functions & MethodsSmall complete methods11 lines
- Struct & ComparableValue objects with the spaceship operator16 lines
- Exceptions & Retriesbegin/rescue/retry/ensure done properly16 lines
- File & JSON I/OReading, parsing, and writing settings14 lines
- Realistic SnippetCSV sales report28 lines
- Module MixinsSharing behavior with include19 lines
- Checkpoint: Real SnippetsStructs, grouping, and formatting in one pass17 lines
- Speed Run: Config LoaderA key=value parser typed end to end without stopping14 lines
- Speed Run: Enumerable PipelineSelect-sort-sum chains at full pace19 lines
- Speed Run: CLI OptionsOptionParser flags and banners13 lines
- Speed Run: Word Frequenciesscan, tally, and sort_by in a tight loop11 lines
- Speed Run: Minitest SuiteA slugify method plus its tests18 lines
- Checkpoint: Sustained SpeedAn event-latency report typed in one continuous run15 lines
- Assessment Sim 1: Task List ProgramA complete two-class program with Enumerable41 lines
- Assessment Sim 2: Reading StatsA full ARGF-to-summary program19 lines
- Assessment Sim 3: RPN CalculatorA complete stack evaluator with error paths21 lines
- Assessment Sim 4: Inventory LedgerA full stock-movement program with rejections29 lines
- Checkpoint: Ruby Mastery FinalA ranked traffic report -- the course's graded final15 lines
About this course
Built for Rails developers, scripters, and anyone who lives inside irb. The course is 33 lessons across 5 modules: 7 symbol drills for blocks, :symbols, and #{} interpolation; 7 keyword and idiom drills; 8 real snippets covering Struct, exceptions, JSON I/O, and mixins; 5 sustained speed runs; and 4 assessment simulations -- complete runnable programs -- plus a graded mastery checkpoint.
