lib/procemon/function/proc_source/proc.rb in procemon-0.4.5 vs lib/procemon/function/proc_source/proc.rb in procemon-0.5.0

- old
+ new

@@ -8,10 +8,10 @@ begin return_string= ProcSource.new block= 0 end - unless inspect.nil? + unless ProcSource.source_cache[self.inspect].nil? return ProcSource.source_cache[self.inspect] else File.open(File.expand_path(self.source_location[0]) ).each_line_from self.source_location[1] do |line| \ No newline at end of file