Hello all,

I feel like I definitely should know this, but how do you test the type 
of an object? For example:

item = ["hello"]
item.array?
> true
item = "hello"
item.array?
> false

extending that, how do I test the type of a class that I made?

-- 
Posted via http://www.ruby-forum.com/.