Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

June 04 2009

Send ri output to Safari [ruby] [osx] [shell]

alias riht='ruby -e"%x{ri -f html #{ARGV[0]}>/tmp/ri.html; open -a Safari /tmp/ri.html}"'
Tags: ruby ri shell

A Better ri

ri is the local, command-line viewer for Ruby documentation. I vastly prefer looking up documentation with ri over mousing up and down and in and out of HTML frames, scrolling through PDFs, and flipping through books, which have unfortunately become much more common ways to search Ruby documentation.
Older posts are this way If this message doesn't go away, click anywhere on the page to continue loading posts.
Could not load more posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Just a second, loading more posts...
You've reached the end.