Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
RDoc
/
Context
/
//opt/alt/ruby27/share/ri/system/RDoc/Context/add_attribute-i.ri
U:RDoc::AnyMethod[iI"add_attribute:ETI" RDoc::Context#add_attribute;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"RAdds +attribute+ if not already there. If it is (as method(s) or attribute), ;TI")updates the comment if it was empty.;To:RDoc::Markup::BlankLine o; ; [ I"BThe attribute is registered only if it defines a new method. ;TI"DFor instance, <tt>attr_reader :foo</tt> will not be registered ;TI"Pif method +foo+ exists, but <tt>attr_accessor :foo</tt> will be registered ;TI"8if method +foo+ exists, but <tt>foo=</tt> does not.;T: @fileI"lib/rdoc/context.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(attribute);T@FI"Context;TcRDoc::NormalClass00