super_method -> Method | nilRuby 2.2.0 から[permalink][rdoc][edit]-
self 内で super を実行した際に実行されるメソッドを Method オブジェクトにして返します。
[SEE_ALSO] UnboundMethod#super_method
例class Super def foo "superclass method" end end class Sub < Super def foo "subclass method" end end m = Sub.new.method(:foo) # => #<Method: Sub#foo> p m.call # => "subclass method" p m.super_method # => #<Method: Super#foo> p m.super_method.call # => "superclass method"