iamnearlythere

say-what.rb - Trying Out Ruby

Today I tried out ruby for the first time. The outcome is a helper for crossword like puzzles: say-what.rb. Usage:

$ ruby say-what.rb
What letters do you have?
car
Words built from your given letters 'car':
1. ar
2. arc
3. car

Ruby's syntax is pretty awesome but not as intuitive as you might think. It's short though and reads out loud very well. You probably write large apps really fast after you get the hang of it, I hope I get to try it out for something more serious soon.

The source is on github: https://github.com/chelmertz/say-what. If you know how to write Ruby properly, feel free to point out my mistakes :)