Top Level Namespace
Defined Under Namespace
Modules: Percy
Instance Method Summary collapse
Instance Method Details
#delegate(*methods) ⇒ Object
14 15 16 17 18 19 20 21 22 |
# File 'lib/percy.rb', line 14 def delegate(*methods) methods.each do |method| eval <<-EOS def #{method}(*args, &block) Percy::IRC.send(#{method.inspect}, *args, &block) end EOS end end |