Permalink
Browse files

Support symbol in rpc call

  • Loading branch information...
1 parent 95932cc commit 79287b0ab9784ed8634f9b8969e08aa7ee5d2321 @nuxlli nuxlli committed Aug 14, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rinterface/node.rb
View
2 lib/rinterface/node.rb
@@ -19,7 +19,7 @@ def fun(node, mod, fun, *args)
def rpc(node, mod, fun, args)
n = self.new
- setup = proc{ n.do_connect(node, mod, fun, args) }
+ setup = proc{ n.do_connect(node.to_s, mod.to_s, fun.to_s, args) }
if EM.reactor_running?
setup.call

0 comments on commit 79287b0

Please sign in to comment.