[ruby-core:62595] [ruby-trunk - Feature #6074] Allow alias arguments to have a comma

From: transfire@...
Date: 2014-05-14 22:12:13 UTC
List: ruby-core #62595
Issue #6074 has been updated by Thomas Sawyer.


Special cases always make me cringe. Why is alias a special case anyway? It seems very odd since alias_method is a method and does the same thing.


----------------------------------------
Feature #6074: Allow alias arguments to have a comma
https://bugs.ruby-lang.org/issues/6074#change-46736

* Author: Thomas Sawyer
* Status: Rejected
* Priority: Low
* Assignee: Yukihiro Matsumoto
* Category: core
* Target version: next minor
----------------------------------------
This is one my biggest pet peeves with Ruby. I am always typing:

~~~ruby
alias :foo, :bar
~~~

And getting a damn syntax error.

Btw, is there a reason why `alias` is a keyword and not a method?




-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next