From: Gerry Ford Date: 2008-02-09T11:04:31+09:00 Subject: Re: how to say # in ruby Chris Hulan wrote: > On Feb 6, 3:45 pm, Tim Hunter wrote: >> Gerry Ford wrote: > ... >> doesn't, then Ruby calls execv() to run the "program" that it assumes >> follows the #!. When execv() fails, Ruby terminates the program. >> > ... > > Thanks, that is interesting It is! I had done the same test he did and was surprised at the result. I'll have a look at load_file(). So /usr/bin/env ruby is like bla, bla, bla ruby.ginger on windows? I wanted to get a handle on what legal comments are in ruby. I've also now seen comments of the form =begin bla, bla, thousand points of light democracy dominoes delilah mitt's gone, woo-hoo =end , which seem to do what /*....*/ did elsewhere. Do I have it right that any line that begins with a hash that isn't #! is a comment, as well as the above? -- -- Posted via http://www.ruby-forum.com/.