Class: Module
Overview
:nodoc:all
Instance Method Summary collapse
Instance Method Details
#forward_message(forwarder, *messagesToForward) ⇒ Object
102 103 104 105 106 107 108 |
# File 'lib/rant/archive/rubyzip/stdrubyext.rb', line 102 def (forwarder, *) methodDefs = .map { |msg| "def #{msg}; #{forwarder}(:#{msg}); end" } module_eval(methodDefs.join("\n")) end |