Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
thread-self
/
root
/
opt
/
ruby-2.7
/
usr
/
share
/
ri
/
2.7.0
/
system
/
RDoc
/
Context
/
//proc/thread-self/root/opt/ruby-2.7/usr/share/ri/2.7.0/system/RDoc/Context/add_attribute-i.ri
U:RDoc::AnyMethod[iI"add_attribute:ETI" RDoc::Context#add_attribute;TF:publico: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