From: Brian Candler Date: 2011-08-11T04:47:12+09:00 Subject: Re: Passing multiple parameters Thomas Sawyer wrote in post #1015985: > Use options hash. > > def method1(options) > email = options[:email] > b_day = options[:b_day] > ... And note there is special syntax available when calling a method like this: if the last argument is a hash, you don't need to wrap it in {braces} method1 :email=>"president@whitehouse.gov", :b_day=>"1900/01/01" If you're writing ruby 1.9 code (and you don't care about 1.8 compatibility), and all your keys are symbols, there's another syntax: method1 email: "president@whitehouse.gov", b_day: "1900/01/01" -- Posted via http://www.ruby-forum.com/.