From: Mario Ruiz Date: 2011-10-28T04:19:21+09:00 Subject: Kernel on Ruby 1.9.2 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/.