From: Boris Glawe Date: 2005-06-21T06:50:35+09:00 Subject: Re: cgi question Ryan Leavengood wrote: > Boris Glawe said: > >>Hi, the following code results in NoMethodError, when being executed as a >>cgi >>script. >> >>The reason is the line "+ cgi.b {"hello world in bold"}" at the bottom. > > > You are attempting to call the unary operator + on cgi.b, which returns a > string. In Ruby's internals the unary + is actually the +@ method. This > code works: > Thanks a lot!! This is an ugly pitfall, as ruby usually grants a lot of freedom in layout. greets Boris