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
/
syntax
/
//proc/thread-self/root/opt/ruby-2.7/usr/share/ri/2.7.0/system/syntax/page-comments_rdoc.ri
U:RDoc::TopLevel[ i I"syntax/comments.rdoc:ETcRDoc::Parser::Simpleo:RDoc::Markup::Document:@parts[S:RDoc::Markup::Heading: leveli: textI"Code Comments;To:RDoc::Markup::BlankLine o:RDoc::Markup::Paragraph;[I"6Ruby has two types of comments: inline and block.;T@ o; ;[I"TInline comments start with the <code>#</code> character and continue until the ;TI"end of the line:;T@ o:RDoc::Markup::Verbatim;[I"# On a separate line ;TI"+class Foo # or at the end of the line ;TI" # can be indented ;TI" def bar ;TI" end ;TI" end ;T:@format0o; ;[I"SBlock comments start with <code>=begin</code> and end with <code>=end</code>. ;TI"*Each should start on a separate line.;T@ o;;[I"=begin ;TI" This is ;TI"commented out ;TI" =end ;TI" ;TI"class Foo ;TI" end ;TI" ;TI"=begin some_tag ;TI"this works, too ;TI" =end ;T;0o; ;[I"Q<code>=begin</code> and <code>=end</code> can not be indented, so this is a ;TI"syntax error:;T@ o;;[ I"class Foo ;TI" =begin ;TI" Will not work ;TI" =end ;TI"end;T;0: @file@:0@omit_headings_from_table_of_contents_below0