Quantcast
Channel: In Ruby what does the "receiver" refer to? - Stack Overflow
Viewing all articles
Browse latest Browse all 4

Answer by chillitom for In Ruby what does the "receiver" refer to?

$
0
0

the object before the .

think of calling a method x.y as saying "send instruction y to object x".

it's the smalltalk way of thinking, it will serve you well as you get to some of Ruby's more advanced features.


Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>