Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: Class

Method deprecated or moved

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

extlib_inheritable_accessor(*syms, &block) public

Defines class-level inheritable attribute accessor. Attributes are available to subclasses, each subclass has a copy of parent’s attribute.

@param *syms Hash{:instance_writer => Boolean}]> Array of attributes to

define inheritable accessor for.

@option syms :instance_writer<Boolean> if true, instance-level inheritable attribute writer is defined. @return <Array[#to_s]> An Array of attributes turned into inheritable accessors.

@api public

Show source
Register or log in to add new notes.