]> git.cworth.org Git - sup/commit
fix proc locals, which must use the old method trick
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Mon, 24 Aug 2009 22:32:39 +0000 (18:32 -0400)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Mon, 24 Aug 2009 22:32:39 +0000 (18:32 -0400)
commitdcd7a7e4c33778d38dd8b1c4059d4b6c99add3fe
tree671e976983151b74d4b3e27611c700f25b00fb9a
parente459fc846862a1499f3acb2f8a2eb098344ee7ac
fix proc locals, which must use the old method trick

For hook locals that are specified as procs (usually for performance
reasons), use methods instead of local variables. Sadly you don't get
all the regular variable semantics, but it is the only option for
delayed evaluation AFAICT.
lib/sup/hook.rb