Mohit Sindhwani
9/3/2007 3:34:00 PM
Jeremy Woertink wrote:
> Dan Mariani wrote:
>
>> How can I control the format (font size, color and location) for text
>> that I am out-putting to the screen. For example:
>>
>> puts ("Ruby is great!")
>>
>> How can I make this appear in larger font on my screen when I run my
>> program?
>>
>> Any help would be GREATLY appreciated!!
>>
>> dm
>>
>
> Doing it in console, you can't format it. There are GUI toolkits like
> FXRuby you can checkout or just do a google search for GUI toolkits for
> Ruby. If you do Rails development on MacOSX there is a gem that allows
> you to have your text in different colors for your log file. Being new
> to all this stuff, that may be a bit too much, but just keep it in mind
> if you ever get into Rails development, then hop back on here and ask
> the question again :)
>
>
> ~Jeremy
>
Or you could use WideStudio [1] to make Ruby based executable programs
in a GUI style!
[1] www.widestudio.org
Cheers,
Mohit.
9/3/2007 | 11:33 PM.