From: "Carina C. Zona" Date: 2011-10-28T05:17:57+09:00 Subject: Re: Kernel on Ruby 1.9.2 http://apidock.com/ruby is good for tracking down this stuff. You can search for a method, then select a Ruby version number to see where it exists and where it doesn't. Deprecated 1.8.7 methods' descriptions also usually refer you to a 1.9.x equivalent, if one exists. On Thu, Oct 27, 2011 at 12:19 PM, Mario Ruiz wrote: > Now it seems like Kernel it is not working the same way > I had this code in 1.8.7 > > module Kernel > private >   def method_name >      caller[0] =~ /`([^']*)'/ and $1 >   end > end > > > and now it is giving me this error when calling method_name > NoMethodError: private method `method_name' called for > # > > -- > Posted via http://www.ruby-forum.com/. > > --   Carina