3 ms·
I agree with your point, but ruby-lang.org has precisely one: puts "Hello World!" Which I'd say is more someone trying to be cute (or pro-forma) than tryi
by michaelcampbell 15y ago
I agree with your point, but ruby-lang.org has precisely one:
puts "Hello World!"
Which I'd say is more someone trying to be cute (or pro-forma) than trying to show off the language to the curious.
But, I guess that's subjective.
- djacobs 15y agoWait, but that's not true. It has a full-fledged class definition, instantiation, and method call.
- jstepien 15y agoYes. I believe they're shown randomly and they're cached so we might see different examples.
- michaelcampbell 15y agoD'oh; all I get is the puts statement with 15 lines of comments. Apologies.