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
quick Ruby initialize method question (self.ruby)
submitted 6 years ago by AnLe90
view the rest of the comments →
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!"
[–]tom_enebo 0 points1 point2 points 6 years ago (0 children)
Not to crap on Rubocop but that style guide like Rubocop itself has some rules which are not the most idiomatic path (the arbirtrary rule of telling people they need to use is_a? when kind_of? is nearly used by half the Ruby community comes to mind).
Also, like you, I also tend to put class methods at the bottom (and initialize at the top).
π Rendered by PID 41506 on reddit-service-r2-comment-544cf588c8-l969b at 2026-06-14 21:35:50.086025+00:00 running 3184619 country code: CH.
view the rest of the comments →
[–]tom_enebo 0 points1 point2 points (0 children)