My First Ruby Script
December 12th, 2009
I decided as PHP developer I should learn another scripting language. After running into RoR several times I decided I’d be better off just learning Ruby. Asking my boss for any advise he told me to just rewrite what I do at work with Ruby.
Well I didn’t take is advice on a per word basis, but This is my first ruby script. It’s designed to be run from the command line. Any suggestions on making it better are welcomed.
This is a pretty straight forward function, slightly harder than your normal “Hello World” but doesn’t do anything to revolutionary. Little surprised about the lack of increment/decrement operator, but I recall reading that it isn’t not there because it is unclear.