>> class Foo
>> def show
>> p "hi"
>> end
>> end
=> nil
>> class Foo
>> alias :old_show :show
>> def show
>> p "hi! I am there."
>> old_show
>> end
>> end
=> nil
>> foo = Foo.new
=> #<Foo:0x117bca0>
>> foo.show
"hi! I am there."
"hi"
=> "hi"
>>

The above code is very fine. But looking for if possible to call that
`old_show` method by the object of `Foo` from `IRB main` as we called
`foo.show`? - Is this possible?

-- 
Posted via http://www.ruby-forum.com/.