summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-01-16 16:14:07 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-01-16 16:14:07 +0100
commit6fdf8606e2ebd0335ee5d0190aa7fc41adf586e0 (patch)
tree8c8e09fa3c75d4fff6674faafdc6420003927e39 /lib
parent98503c5c1186015131259edfa758f36e2b89fd3f (diff)
downloadzorglub-6fdf8606e2ebd0335ee5d0190aa7fc41adf586e0.zip
zorglub-6fdf8606e2ebd0335ee5d0190aa7fc41adf586e0.tar.gz
Node : fix Node.ext!
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 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