From: Mario Ruiz Date: 2012-11-28T20:22:48+09:00 Subject: How to know in which class we are when inheriting Look at this code: class One def initialize puts self.class end end class Two < One def initialize super() puts self.class end end Two.new() I want to know that when in initialize in One Class we are in One class and when in Two the same... but it seems that Ruby thinks that we are always in Two.... any idea how to do this? -- Posted via http://www.ruby-forum.com/.