# Re: Accessing base method

**URL:** <https://www.ruby-forum.com/t/re-accessing-base-method/76220>\
**Category:** Ruby\
**Created:** [November 16, 2006, 8:59pm UTC](https://www.ruby-forum.com/t/re-accessing-base-method/76220 "2006-11-16T20:59:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![phrogz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/2acd7d/32.png) [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Post date:** [November 16, 2006, 8:59pm UTC](https://www.ruby-forum.com/t/re-accessing-base-method/76220/1 "2006-11-16T20:59:25Z")

</div>

From: Gavin K.

> It’s not pretty, but:  
> [snip]

Though, of course, you can make it prettier by making it re-usable:

class Object  
def supercall( method\_name, \*args )  
self.class.superclass.instance\_method( method\_name ).bind( self  
).call( \*args )  
end  
end

class Parent  
def knox  
puts ‘parent’  
end  
end

class Child \< Parent  
def knox  
puts ‘child’  
end  
def test  
supercall( :knox )  
end  
end
