Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: Class
_stash_object_in_method(object, method, instance_reader = true) private

Take the object being set and store it in a method. This gives us automatic inheritance behavior, without having to store the object in an instance variable and look up the superclass chain manually.

Show source
Register or log in to add new notes.