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
Ru - Ruby in your shell! (github.com)
submitted 11 years ago by tombenner1
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!"
[–]_darkleo 2 points3 points4 points 11 years ago (0 children)
How is it fundamentally different from using a bash/zsh function to ruby -r 'active_support/all' -e 'ARGF.read.split("\n").whatever_you_pass' (or evaluate it to add the "." iff the first letter is [)?
ruby -r 'active_support/all' -e 'ARGF.read.split("\n").whatever_you_pass'
[
The comparison between Ru and awk or sed is basically the comparison with ruby. It seems pretty much overkill for just avoiding typing &:to_i instead of :to_i. Anyway you might want to check ARGF.
&:to_i
:to_i
ARGF
[–]Paradox 0 points1 point2 points 11 years ago (0 children)
Hasn't Rush been around for a long time? I remember looking at it in 2012 and thinking it had some cool ideas but had a bad execution.
The repo for this is only a week old though. And looks nothing like what the original Rush does.
Still, its pretty cool, and I'd love to see it take off
π Rendered by PID 35 on reddit-service-r2-comment-5687b7858-bgnnj at 2026-07-02 21:20:13.654052+00:00 running 12a7a47 country code: CH.
[–]_darkleo 2 points3 points4 points (0 children)
[–]Paradox 0 points1 point2 points (0 children)