What is the last argument to rb_attr()?

Hi,

What is the last argument to the rb_attr function exactly? I looked at
eval.c and I think it sets its visibility (private?) but I wasn’t sure
and I didn’t see it documented anywhere.

Thanks,

Dan

Hi,

At Sat, 23 Jun 2007 20:37:10 +0900,
Daniel B. wrote in [ruby-talk:256656]:

What is the last argument to the rb_attr function exactly? I looked at
eval.c and I think it sets its visibility (private?) but I wasn’t sure
and I didn’t see it documented anywhere.

Follows the current visibility if it is non-zero.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs