24 Mar '12, 11am

As per Google Analytics, the article "How do I make a command-line tool in Ruby?" has been the most popular this year

Please also note that highline makes many tasks such as user input simple. There’s main and Vision Commander and gli also. There is a tiny wrapper over OptionParser called subcommand (a ruby gem) which allows for commands within our program. All option parser syntax will continue to work. Why i prefer “subcommand” is that all the others take over the application. subcommand prints help for all options, and subcommands and their options too. I am glad you did not get into the many alternatives for OptionParser, I’ve tried them all and come back to OptionParser in the end. There are many other aspects of command-line programs that need to be mentioned. For example, return values (0 and 1), so the program can be called from a script. Also, the program should be usable in pipes, so it can work with other programs just like any other unix script. Thanks, rahul

Full article: http://rubylearning.com/blog/2011/01/03/how-do-i-make-a-c...

Tweets

Mutable and Immutable Objects: Ruby Study Notes...

rubylearning.com 25 Mar '12, 5pm

Let us understand what we are doing here - a and b are two variables both of which are pointing to a string object - Origi...

10 websites built using ruby on rails

10 websites built using ruby on rails

railshosting.org 24 Mar '12, 10pm

The top 10 websites built with Ruby on Rails Posted by Collin on 05/19/2011 in Rails Tutorials . Ruby is a growing force i...

@adamson_claire tech cartoon/how to guide via rails girls

@adamson_claire tech cartoon/how to guide via r...

mislav.uniqpath.com 24 Mar '12, 11pm

Concerning Commercial Uses of the (Poignant) Guide This book is released under a Creative Commons license which allows unl...

Biomolecular Processes Observed with New Imagin...

treehugger.com 25 Mar '12, 9am

© Lawrence Berkeley National Laboratory Seeing the first images of Earth, a shiny blue and white ball suspended against in...

stupid ruby tricks

robots.thoughtbot.com 23 Mar '12, 6am

At first glance, this barely looks like valid Ruby. But somehow, it just makes sense: it splits up the array. If you’re go...

get

23isback.com 04 Apr '12, 1pm

Did not realize that so many people had used my...

rubylearning.com 25 Mar '12, 1am

By Satish Talim RubyLearning.com is a thorough collection of Ruby Study Notes for those who are new to the Ruby programmin...

@jmaicher Oh, right. Missed that. There are sev...

ruby-forum.com 25 Mar '12, 7am

Is there any good reason why Hash#map does not give back a Hash (Ruby 1.8 but same in 1.9 as far as I know)? I often find ...

@bascule here's the old thread on ruby-talk

ruby-forum.com 24 Mar '12, 11pm

>> How Can I generate uuid ? any references or Ideas could You people >> suggest.I have not even heard about it? >> > > ht...

@joshbuddy in case you didn't see it. cc: @nesq...

engineyard.com 28 Mar '12, 8pm

Engine Yard, Inc. Log in Login to Engine Yard Cloud Login to Orchestra PHP Cloud Products Engine Yard Cloud Engine Yard Ma...

SEO Chat Forums - Which is best SEO Tool

forums.seochat.com 25 Mar '12, 9pm

in the SEO Tools forum on SEO Chat. Which is best SEO Tool SEO Tools forum discussing all manner of scripts and software t...

The Animals That Make Us Human

dotearth.blogs.nytimes.com 23 Mar '12, 8pm

Jack Revkin Sara, a mixed-breed dog adopted by the Revkin-Mechaley family from a shelter in 2001. Temple Grandin , the ext...

The Animals That Make Us Human

dotearth.blogs.nytimes.com 23 Mar '12, 8pm

Jack Revkin Sara, a mixed-breed dog adopted by the Revkin-Mechaley family from a shelter in 2001. Temple Grandin , the ext...

Startup Aims to Simplify the Process of Going Solar with an Online Design-Your-Own Tool

Startup Aims to Simplify the Process of Going S...

treehugger.com 19 Mar '12, 9pm

For homeowners, thinking about making the switch to solar power can be like heading down the rabbit hole. The number of qu...