File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ argument automagically becomes a reference to the receiver.
56
56
Ruby is a pure OO language that can masquerade as a procedural one. It has no
57
57
functions, only method calls. In a Ruby method the receiver, also called
58
58
` self ` , is a hidden argument like ` this ` in C++. A ` def ` statement outside of
59
- a class definition, which is a function in Python, is actually a method call
59
+ a class definition, which defines a function in Python, actually defines a method
60
60
in Ruby. These ersatz functions become private methods of class Object, the
61
61
root of the Ruby class hierarchy. Procedural programming is neatly solved from
62
62
the other direction---everything is an object. If the user doesn't grok
You can’t perform that action at this time.
0 commit comments