On May 22, 2009, at 12:27 AM, J Haas wrote:

>
> As I've said repeatedly, I don't follow your reasons for claiming that
> this is impossible. Can you come up with a better demonstration?
>

First, let me say thank you for the code. This community thrives on  
code, not on bickering. More code is always a good thing. That said...

 > cat tough.rb
# "end" can make things clearer, sometimes...

result = case ARGV[0]
          when /^\d*$/
            "That's an integer!"
          when /^[A-Za-z]*$/
            "That's a word!"
          else
            "That's something that's not an integer or a word..."
          end if ARGV[0]

puts result