From: mhm26@... (matt) Date: 2004-03-13T00:59:40+09:00 Subject: Procs and Blocks If I alter the proc class, like so class Proc def keep(i) @i = i end def whatIGot?() @i end end and do something like so: foo = Proc.new() {|*args| ... } foo.keep(624) I run into issues when I do something like def use(*args, &block) block[*args] $stdout.puts "Block kept: #{block.whatIGot} : #{block.whatIGot.class}" end use (some, random, arguments, &foo) here, whatIGot tends to be nil (which is fully understandable, since we're converting from some proc to a `block' going to a method back to a proc... but is there any sensable way to keep state?)