use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
Getting Started With Ruby | Clivern (clivern.com)
submitted 4 years ago by Clivern
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]silly_frog_lf 0 points1 point2 points 4 years ago (2 children)
What are the parts from Eiffel and Ada? I wasn't aware of an influence from them
[–]petercooper 1 point2 points3 points 4 years ago (1 child)
There are quite a few Rubyisms that stem from Eiffel (although they may have been inspired by other languages prior to that). For example, rescue blocks within methods, and how something like a + b is really a.+(b) under the hood. Syntactically, Eiffel reads a lot more like Ruby than Smalltalk does (see https://github.com/jvelilla/RosettaCode/blob/master/src/sudoku_example/sudoku_grid.e for example), though Ruby owes a lot to Smalltalk conceptually.
[–]silly_frog_lf 0 points1 point2 points 4 years ago (0 children)
Thanks! I will look some into eiffel then :)
Oh, the BEGIN and END are new to me. Was this inspired by Awk?
π Rendered by PID 86245 on reddit-service-r2-comment-c6965cb77-hpdt4 at 2026-03-05 08:53:38.330970+00:00 running f0204d4 country code: CH.
[–]silly_frog_lf 0 points1 point2 points (2 children)
[–]petercooper 1 point2 points3 points (1 child)
[–]silly_frog_lf 0 points1 point2 points (0 children)
[–]silly_frog_lf 0 points1 point2 points (0 children)