Hi,

In message "Re: [ruby-core:40290] [ruby-trunk - Feature #5474][Assigned] keyword argument"
    on Sun, 23 Oct 2011 21:53:58 +0900, Yusuke Endoh <mame / tsg.ne.jp> writes:

|- it raises an TypeError when unknown keyword is given
|
|    create_point(2, 3, style: "solid")
|      #=> unknown keyword (TypeError)

I think it should be ArgumentError instead of TypeError.

|An alternative design is to treat all parameters as keyword
|arguments (as Evan said in [ruby-core:40195]).
|
|  def create_point(x, y, color = "white", size = 1)
|    p [x, y, color, size]
|  end
|  create_point(color: "red", x: 2, y: 3)
|    #=> [2, 3, "red", 1]

It's Python way, and I won't take it.

							matz.