The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
A simple Ruby command-line application skeleton

0 replies.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a flat view of this topic  Flat View
Previous Topic   Next Topic
Threaded View: This topic has 0 replies on 1 page
Todd Werth

Posts: 30
Nickname: twerth
Registered: Feb, 2007

Todd Werth is a software designer and programmer in San Francisco
A simple Ruby command-line application skeleton Posted: Jan 25, 2008 8:45 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Todd Werth.
Original Post: A simple Ruby command-line application skeleton
Feed Title: InfiniteRed
Feed URL: http://blog.toddwerth.com/entries/feed
Feed Description: Info, screencasts, and other shiny happy things regarding programming in general and ruby in particular.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Todd Werth
Latest Posts From InfiniteRed

To write a command-line application in Ruby is very simple, the following two-line application converts everything in the standard input to upper case and then outputs it: #!/usr/bin/env ruby puts STDIN.read.upcase Although complete, this is hardly a proper application, which should include options, arguments, help, input error trapping, etc. [...]

Read: A simple Ruby command-line application skeleton


Topic: Indentation as Block Structure - HAML instead of RHTML Previous Topic   Next Topic Topic: Finding out which Rails revision caused a test to fail

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use