Ruby Primer
By the end of this guide, you will:
-
Read and write basic Ruby syntax (variables, methods, classes)
-
Explain Ruby object model: everything is an object
-
Distinguish between symbols (
:key) and strings ("key") -
Use blocks, procs, and lambdas for callbacks
-
Create immutable structs with
Data.define -
Handle nil safely (Ruby equivalent of null/None)
-
Call methods with keyword arguments
⚠️ This page is a stub. Help us write it! See the Documentation Plan and Style Guide.