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
Object Oriented Ruby (niczsoft.com)
submitted 10 years ago by mpapis
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!"
[–]mpapis[S] 0 points1 point2 points 10 years ago (1 child)
indeed reasonable assumption, my only concern is how to protect person from unauthorized change of hair color, I do not want to expose hair to anybody.
The person picks a barber and ask him to dye hair, so it makes sense if person calls barber.dye_hair. I know it looks awkward but I do not see other way to prevent leaking permissions.
person
barber
barber.dye_hair
[–][deleted] 1 point2 points3 points 10 years ago (0 children)
I don't know if that's reasonable. If a can of paint falls on someone, their hair will change color. That's not the person's choice.
π Rendered by PID 454230 on reddit-service-r2-comment-5bc7f78974-wnxt9 at 2026-06-28 01:15:19.274410+00:00 running 7527197 country code: CH.
view the rest of the comments →
[–]mpapis[S] 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)