Class ProcString
In: lib/proc_source.rb
Parent: String

SCRIPT_LINES__ = {} unless defined? SCRIPT_LINES__

Methods

to_lambda   to_proc  

Attributes

file  [RW]  Filename where the proc is defined
lines  [RW]  Range of lines where the proc is defined
  ex. (12..16)

Public Instance methods

Return a lambda

Return a Proc object If lines and file is specified, these are tied to the proc.

[Validate]