Class Proc
In: raggle  (CVS)
Parent: Object

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)

Methods

_dump   _load   to_s  

External Aliases

to_s -> old_to_s
  strips off proc{}

Attributes

source  [RW] 

Public Class methods

can’t use 1.8-style marshal_{dump,load} because Procs lack allocators

Public Instance methods

[Validate]