
Working With Unix Processes

In the next section, we’ll put together several of the pieces we’ve looked at more or less separately: method calls (message sending), objects and their status as instances of classes, and the mixing of modules into classes. All these concepts come together in the process by which an object, upon being sent a message, looks for and finds (or fails
... See moreJoe Leo • The Well-Grounded Rubyist
Undefined local variable…. In fact, you did define that local variable, but it isn’t local to where you tried to use it; it’s local to the method, which means it’s local to double_this: it only exists while double_this is executing.
Chris Pine • Learn to Program
It was mostly written by an excellent coworker, and working with it is where I learned to write effective shell scripts. (Thanks to Nathan and shellcheck for this vital... See more
Bill Mill • notes.billmill.org
So far, we’ve arranged things in such a way that we set the values of the instance variables at the point where the object is created and can then retrieve those values at any point during the life of the object. That arrangement is often adequate, but it’s not symmetrical. What if you want to set the values of instance variables at some point othe
... See more