lib/coderunner/merged_code_runner.rb in coderunner-0.15.1 vs lib/coderunner/merged_code_runner.rb in coderunner-0.15.2

- old
+ new

@@ -49,10 +49,13 @@ def merged_runner_info(run) #run.id.inspect + " : " run.id[0].to_s + "," #"" end + # Do nothing + def save_large_cache + end # Merge an additional runner. def add_runner(runner) index = @runners.size @runners.push runner runner.run_list.each do |id, run| @@ -83,16 +86,21 @@ # # Thus, within a merged runner (an instance of CodeRunner::Merged), each # run has a unique id, and the merged runner can treat the Run::Merged objects # exactly as if they were simply Run objects. class Run::Merged + #(Object.instance_methods - [:send,:set,:object_id, :__send__, :__id__]).each{|meth| undef_method meth} + undef_method :test attr_reader :run attr_accessor :id def initialize(runner_index, run) @runner_index = runner_index @run = run @id = [@runner_index, @run.id] end + #def send(meth, *args) + #@run.send(meth, *args) + #end def method_missing(meth, *args) @run.send(meth, *args) end end end