lib/sourcerer/proc_source.rb in sourcerer-0.5.0.pre.beta vs lib/sourcerer/proc_source.rb in sourcerer-0.5.1
- old
+ new
@@ -1,14 +1,13 @@
module Sourcerer
- class ProcSource < String
+ class ProcSource < SourceCode
class << self
attr_accessor :source_cache
attr_accessor :eval_keys
end
self.source_cache= Hash.new
self.eval_keys= Array.new
-
def self.build(source_code_to_be_wrappered,*params_obj_array)
self.new(source_code_to_be_wrappered).wrapper_around!(*params_obj_array)
end
\ No newline at end of file