From: Masaki Suketa Date: 2008-03-10T21:07:23+09:00 Subject: Re: Keyword arguments for WIN32OLE? Hello, djlewis wrote: > Is there a way to pass ~keyword~ arguments to a WIN32OLE method in > Ruby? For example, I've tried... > > @selection.Find.Execute( :FindText=>"look > for", :ReplaceWith=>"something else") Try @selection.Find.Execute({:FindText=>"look for", :ReplaceWith=>"something else"}) or @selection.Find.Execute({"FindText"=>"look for", "ReplaceWith"=>"something else"}) Regards, Masaki Suketa