The case of the missing method — a Ruby mystery story

Get Started. It's Free
or sign up with your email address
The case of the missing method — a Ruby mystery story by Mind Map: The case of the missing method — a Ruby mystery story

1. Ruby Objects

1.1. Instance Objects

1.2. Class Objects

1.2.1. The class of a class is called "metaclass"

1.3. Hierarchy

1.3.1. Object

1.3.1.1. Class

1.3.1.1.1. Superclass

1.3.1.1.2. Singleton Class

1.3.1.2. Singleton Class

2. Singleton Classes

2.1. Ruby internal

2.2. hold methods defined on one object

2.3. understanding them helps understanding DSLs' behaviours

2.4. invisible yet everywhere

3. Methods

3.1. every method is an instance method

4. by Nadia Odunayo @nodunayo

5. DSL

5.1. define business rules

5.2. be cautious when adding instance specific stuff

5.3. Rails is a collection of well written DSLs

5.4. RSpec as well