attr(*args) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
rb_mod_attr(int argc, VALUE *argv, VALUE klass)
    if (argc == 2 && (argv[1] == Qtrue || argv[1] == Qfalse)) {
        rb_warning("optional boolean argument is obsoleted");
        rb_attr(klass, rb_to_id(argv[0]), 1, RTEST(argv[1]), Qtrue);
        return Qnil;
    return rb_mod_attr_reader(argc, argv, klass);
Register or log in to add new notes.