Forum: Ruby Apr 20th, 2009 |
| Replies: 1 Views: 1,774 Here are some suggestions I've since received from other sources. In essence there is always more than one way to skin a cat.
for r in (1..rows)
for c in (1..(rows - r))
print "."
end... |
Forum: Ruby Apr 20th, 2009 |
| Replies: 1 Views: 1,774 In learning Ruby I've dug out some old C++ exercises and one in particular which can be found here (http://prime357.net/node/80)deals with a for loop. I'm basically converting the C++ code to Ruby... |
Forum: Ruby Apr 10th, 2009 |
| Replies: 0 Views: 1,601 How do I configure SciTE so that when code ( gets() ) asks for user
input I can enter that input via the output console. At present, all
that happens is a 'Terminate' button appears in the output... |
Forum: Ruby Apr 6th, 2009 |
| Replies: 4 Views: 2,927 Thanks for the input so far. As regards JRuby, this is where, for me, it gets confusing. Is it Java or is it Ruby? Is is Java creating Ruby source code to be run entirely under the Ruby... |
Forum: Ruby Apr 5th, 2009 |
| Replies: 4 Views: 2,927 I dabbled in Ruby quite a while ago but only at the console level. I didn't take it any further at the time. I'm now considering treating it more seriously this time, though I'd have to start from... |