From: Ned Konz Date: 2001-08-02T01:59:15+09:00 Subject: [ruby-talk:18975] Re: notes from a Ruby newbie On Wednesday 01 August 2001 02:46 am, matz wrote: > use rubydb.el, if you're Emacs user. It works just like gdb-mode for > Emacs. Has someone done one of these for Vim yet? > Ah, it will be solved in the future. For now, you have to use > > p = Proc.new{|a,| a} # notice "," after "a" > > to specify single parameter to the block. {|a|..} works like > {|*a|..}, if multiple arguments are passed to the block. Thanks. I didn't see that in the documentation. -- Ned Konz currently: Stanwood, WA email: ned@bike-nomad.com homepage: http://bike-nomad.com