On 28.02.2013 12:51, Tukai Patra wrote:
> Alex Gutteridge wrote in post #1099529:
>> On 28.02.2013 12:34, Tukai Patra wrote:
>>>>> old_show
>
>> Uh, yes you just call it, unless I totally misunderstand your 
>> question?
>>
>> class Foo
>>    def bar
>>      puts "bar"
>>    end
>> end
>>      ==>nil
>> class Foo
>>    alias :baz :bar
>>    def bar
>>      puts "baz"
>>      baz
>>    end
>> end
>
> in the above you put `baz` inside `bar`, thus you were able. I am
> telling without putting it into any instance method, can we call 
> it,from
> the outside of the class?
>
> Hope myself cleard now my intention.

Surely the very last line of my session (which you neatly removed from 
your quote) is calling it 'from the outside of the class'?

-- 
Alex Gutteridge