From 2fde112c0033ec57bb7f5d7830f6e31021afd740 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 16 Jun 2011 17:35:06 +0200 Subject: Node#r accepts string arguments --- lib/zorglub/node.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/zorglub/node.rb b/lib/zorglub/node.rb index 08214a3..fc74d7b 100644 --- a/lib/zorglub/node.rb +++ b/lib/zorglub/node.rb @@ -22,8 +22,9 @@ module Zorglub @app.map location, self end # - def r + def r *args @r ||= @app.to self + File.join @r, *args end # def call env -- cgit v1.1-2-g2b99