Is there a method in Ruby that refers to the current instance of a class, in the way that self refers to the class itself?
self
may be you need :itself method?
1.itself => 1 '1'.itself => '1' nil.itself => nil
hope this help!