What is the last argument to rb_attr() ?

Discussion in 'Ruby' started by Daniel Berger, Jun 23, 2007.

  1. 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
     
    Daniel Berger, Jun 23, 2007
    #1
    1. Advertising

  2. Hi,

    At Sat, 23 Jun 2007 20:37:10 +0900,
    Daniel Berger 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.

    --
    Nobu Nakada
     
    Nobuyoshi Nakada, Jun 24, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Bhushit Joshipura

    defaulting argument to previous argument

    Bhushit Joshipura, Dec 29, 2003, in forum: C++
    Replies:
    5
    Views:
    423
  2. Ben Kial
    Replies:
    1
    Views:
    705
    Eric Enright
    Nov 15, 2004
  3. S?ren Gammelmark
    Replies:
    1
    Views:
    1,971
    Eric Sosman
    Jan 7, 2005
  4. sangram
    Replies:
    16
    Views:
    2,065
  5. Johny
    Replies:
    8
    Views:
    403
Loading...

Share This Page