From: Jeremy Bopp Date: 2013-05-24T04:21:24+09:00 Subject: Re: new: a problem with type method not being undefined On 05/23/2013 02:14 PM, David Munyaka wrote: > I am using ruby 2.0.0p195. I am, however, starting to think that > type-method is not defined for this version of ruby. I ran the below > expressions and I got values for the first two expressions but due to > the error caused by type-method I did not get values for the expressions > after the fourth expression. Please advise on why type is not being > recognized as a method in this version and how I can resolve this > problem. Did you mean to use the #class method instead? The #type method was deprecated in the Ruby 1.8 series somewhere and was finally removed in the Ruby 1.9 series. -Jeremy