Flowdock
method

extlib_inheritable_accessor

Importance_1
v3.0.0 - Show latest stable - 0 notes - Class: Class
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<Array[*#to_s, 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.