On 9 Nov 2008, at 17:24, Norm wrote:

> Frederick Cheung wrote:
>> On 8 Nov 2008, at 19:57, Peter Alvin <[EMAIL PROTECTED]
>>
>>
>> s.net> wrote:
>>> With Microsnot technology you an do this:
>>>
>>> <% Response.Write "Hello, World" %>
>>>
>>>
>> <%= "hello world" %>
>>
>> Fred
>>
>>> How do you output text to the browser with Ruby?
>>>
>>> Pete
>>> --  
>>> Posted via http://www.ruby-forum.com/.
>>>
>>>
> Fred..
> Maybe I am missing something here but why would you surround a  
> straight string in <%=""%>.  Why not just put hello world?
>
You wouldn't normally, just as you wouldn't actually put <%  
Response.Write "Hello, World" %> either. It was an example.

Fred
> Norm
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to