Anonymous
public ruby v1 · immutable class RubyTwitInternal def initialize(rubytwit, bot) @rubytwit = rubytwit @bot = bot end def method_missing(name, *args) if @rubytwit.respond_to?(name) then begin @rubytwit.send(name, *args) rescue => e @bot.runner.log(Logger::ERROR, 'an error occurred') @bot.runner.log(Logger::ERROR, e) end else super end end end