Re: Newbie needs help getting user input
- From: 7stud -- <dolgun@xxxxxxxxxx>
- Date: Sun, 30 Sep 2007 23:40:21 +0900
7stud -- wrote:
2)
f = File.open("data.txt", "w") do |file|
file.puts("goodbye mars")
end
Whoops, too slow. And I had some detritus stuck to the front of that
example anyway. It should be:
2)
File.open("data.txt", "w") do |file|
file.puts("goodbye venus")
end
--
Posted via http://www.ruby-forum.com/.
.
- Follow-Ups:
- Re: Newbie needs help getting user input
- From: Peter Vanderhaden
- Re: Newbie needs help getting user input
- References:
- Newbie needs help getting user input
- From: Peter Vanderhaden
- Re: Newbie needs help getting user input
- From: 7stud --
- Newbie needs help getting user input
- Prev by Date: Re: Newbie needs help getting user input
- Next by Date: Re: how to use Ruby / Tk to display a text message status box
- Previous by thread: Re: Newbie needs help getting user input
- Next by thread: Re: Newbie needs help getting user input
- Index(es):
Relevant Pages
|