diff options
-rw-r--r-- | lib/oldweb.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oldweb.rb b/lib/oldweb.rb index d045693..12ce876 100644 --- a/lib/oldweb.rb +++ b/lib/oldweb.rb @@ -92,7 +92,7 @@ class Oldweb def rel_path(out_file) rel_prefix = @outputdir.relative_path_from(out_file.dirname) - rel_prefix == '.' ? '' : "#{rel_prefix}/" + rel_prefix.to_s == '.' ? '' : "#{rel_prefix}/" end # called standalone by servelet |