James Gray
10/14/2006 5:54:00 PM
On Oct 14, 2006, at 12:47 PM, Roseanne Zhang wrote:
> It sounds pretty stupid, but I could not find a way to do it in Ruby
> yet.
>
> Such in C/C++/Java:
> /*
> This is all comments.
>
> This forum is connected to a mailing list that is read by
> thousands of
> people. Before you post, please use the FAQ, the Ruby documentation
> and
> Google to find an answer to your question. If you can't find an answer
> there, make sure to include all relevant information that is necessary
> to help you in your post.
> */
Ruby's block comment looks like this:
=begin
We're in a comment here. Both the =begin and the =end must be the
first elements on a line for this to work.
=end
James Edward Gray II