The following bit of magic allows us to Marshal Procs, or get their code from proc.source; use the proc method with %{} rather than {} for the block. (This passes a string literal, stored in the Proc. Be careful creating these in hashes - spaces kill) (this is used to create the help window)
to_s | -> | old_to_s |
strips off proc{} |
source | [RW] |