From 6fdf8606e2ebd0335ee5d0190aa7fc41adf586e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 16 Jan 2012 16:14:07 +0100 Subject: Node : fix Node.ext! --- lib/zorglub/node.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/zorglub/node.rb b/lib/zorglub/node.rb index 7c63af0..69e1e21 100644 --- a/lib/zorglub/node.rb +++ b/lib/zorglub/node.rb @@ -244,7 +244,7 @@ module Zorglub # def ext! ext if ext.nil? or ext.empty? - @options[:ext]||'' + @options[:ext]='' else @options[:ext] = (ext[0]=='.' ? (ext.length==1 ? nil : ext) : '.'+ext) end -- cgit v1.1-2-g2b99