parse_meta_attr(context, single, tk, comment)
Instance Public methods
Parses a meta-programmed attribute and creates an RDoc::Attr.
To create foo and bar attributes on class C with comment âMy attributesâ:
class C ## # :attr: # # My attributes my_attr :foo, :bar end
To create a foo attribute on class C with comment âMy attributeâ:
class C ## # :attr: foo # # My attribute my_attr :foo, :bar end
Please login to continue.