Ugh, I'm at my wits end. I've been trying for hours to convert this
simple app to work on Shoes, and I still haven't found a solution, and
I was wondering if someone could steer me in the right direction on
how to do this.

require 'rubygems'
require 'Linguistics'
# This gem extends the classes. This statement extends them.
Linguistics::use( :en, :installProxy => :en )


# My loop-workings
i = 10
until i < 1
  thenumber = gets.to_i
  # Changes the number into a form that you would speak
  puts thenumber.numwords, "\n"
  end

So basically, I type in a number like 36,090 and it returns with
"Thirty-six thousand and ninety'. Using the Linguistics gem. I'm new
to Ruby (and programming in general) and this is my first post to a
mailing list, so bare with me.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to