summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-08-03 14:34:22 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-08-03 14:34:22 +0200
commitad384e5e285deac173913cd7ce22a39139a52624 (patch)
tree7703af6dad532590adb82987a770ea6116e6c88d /lib
parent64e2170cd80b4fbb5e6986074df654c661b5a89b (diff)
downloadzorglub-ad384e5e285deac173913cd7ce22a39139a52624.zip
zorglub-ad384e5e285deac173913cd7ce22a39139a52624.tar.gz
Node.r take care of non-string arguments
Diffstat (limited to 'lib')
-rw-r--r--lib/zorglub/node.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zorglub/node.rb b/lib/zorglub/node.rb
index 751bb4d..73811ea 100644
--- a/lib/zorglub/node.rb
+++ b/lib/zorglub/node.rb
@@ -24,7 +24,7 @@ module Zorglub
#
def r *args
@r ||= @app.to self
- File.join @r, *args
+ File.join @r, args.map { |x| x.to_s }
end
#
def call env