libraries/madeleine/automatic.rb in Pimki-1.5.092 vs libraries/madeleine/automatic.rb in Pimki-1.6.092

- old
+ new

@@ -177,10 +177,10 @@ # # This automatically makes and executes a new Command if a method is called from # outside the system. # def method_missing(symbol, *args, &block) -# print "Sending #{symbol} to #{@thing.to_s}, myid=#{@myid}, sysid=#{@sysid}\n" + #print "Sending #{symbol} to #{@thing.to_s}, myid=#{@myid}, sysid=#{@sysid}\n" raise NoMethodError, "Undefined method" unless @thing.respond_to?(symbol) if (Thread.current[:system]) @thing.send(symbol, *args, &block) else raise "Cannot make command with block" if block_given?