Flowdock
method

_stash_object_in_method

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: Class

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.

_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.