Online Mind Mapping and Brainstorming

Create your own awesome maps

Online Mind Mapping and Brainstorming

Even on the go

with our free apps for iPhone, iPad and Android

Get Started

Already have an account? Log In

Ruby Object Model: method calling by Mind Map: Ruby Object Model: method calling
5.0 stars - 1 reviews range from 0 to 5

Ruby Object Model: method calling

What happens when you call a method?

when you call a method, Ruby does two things

Method Execution

Every line of Ruby code is executed inside an object:

spell: Kernel Method

class Object includes Kernel

Method Lookup

to find a method, Ruby goes into the receivers's class, and from there it climbs the ancestors chain until it finds the method