All pastes #1864457 Raw Edit

Untitled

public ruby v1 · immutable
#1864457 ·published 2010-04-17 06:37 UTC
rendered paste body
  class RubyTwit_Internal    def initialize(rubytwit)      @rubytwit = rubytwit    end    def method_missing(name, *args)      if @rubytwit.respond_to?(name.to_s) then        begin          @rubytwit.send(name, *args)        rescue => e          @runner.log(Logger::ERROR, 'an error occurred')          @runner.log(Logger::ERROR, e)        end      else        super      end    end  end