From: William Djaja Tjokroaminata Date: 2002-10-03T13:04:45+09:00 Subject: Re: Named Arguments doesn't work? Is named parameters in method call supposed to be supported in 1.7.3? Bill =========================================================================== Wai-Sun Chia wrote: > Why doesn't this work? > class Song > def initialize(name, artist, duration) (deleted) > a = Song.new("name"=>"foo", "artist"=>"bar", "duration"=>3) > ./ha.rb:11:in `initialize': wrong number of arguments(1 for 3) > ruby 1.7.3 (2002-09-30) [i386-linux-gnu]