Hi,

Is there a way to have an alias for module method?  This code does not
work:

# ---------------------
module MyModule
  def MyModule.func
    puts 'Hello'
  end

  alias funcAlias func
end

MyModule.funcAlias
# ---------------------

I am using Ruby 1.9.2.

Thanks,

Bill

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