diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-01-16 16:14:07 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-01-16 16:14:07 +0100 |
commit | 6fdf8606e2ebd0335ee5d0190aa7fc41adf586e0 (patch) | |
tree | 8c8e09fa3c75d4fff6674faafdc6420003927e39 | |
parent | 98503c5c1186015131259edfa758f36e2b89fd3f (diff) | |
download | zorglub-6fdf8606e2ebd0335ee5d0190aa7fc41adf586e0.zip zorglub-6fdf8606e2ebd0335ee5d0190aa7fc41adf586e0.tar.gz |
Node : fix Node.ext!
-rw-r--r-- | lib/zorglub/node.rb | 2 |
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 |