method

find_attr_comment

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: C

Method deprecated or moved

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

find_attr_comment(var_name, attr_name, read = nil, write = nil) public

Finds a comment for rb_define_attr, rb_attr or Document-attr.

var_name is the C class variable the attribute is defined on. attr_name is the attribute’s name.

read and write are the read/write flags (‘1’ or ‘0’). Either both or neither must be provided.

Show source
Register or log in to add new notes.