A series of Jupyter notebooks for learning the Ruby programming language.
You can follow these notebooks without installing iruby
on your computer by using the Interactive Ruby environment irb
.
But if you prefer using Jupyter, you can follow the official documentation for installing iruby
and register a Ruby kernel for your Jupyter notebooks.
- Quickstart - Ruby in Twenty Minutes
- Names
- Numbers
- Methods
- Strings
- Flow Control
- Blocks
- Arrays
- Ranges
- Symbols
- Hashes
- Random Numbers
- Read/Write Text Files
- Regular Expressions
- Classes
- Method Missing
- Procs
- Including Other Files
- Open Classes
- Inheritance
- Overriding Methods
- Overloading Methods
- Access Control
- Exceptions
- Logging
- Time Class
- Duck Typing
- Syntactic Sugar
- Mutable and Immutable Objects
- Object Serialization
- Modules Mixins
- Self
- Constants
Most of the content of these notebooks has been extracted from online documentation sites such as: