# File lib/proc_source.rb, line 181 def self.from_string(string) result = eval("proc {#{string}}") result.source = string return result end