Flowdock
method

find_attr_comment

Importance_1
v1_9_3_125 - Show latest stable - 0 notes - Class: C
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.