lib/nanoc.rb in nanoc-3.7.3 vs lib/nanoc.rb in nanoc-3.7.4
- old
+ new
@@ -13,10 +13,10 @@
res
end
# @return [Boolean] True if the current platform is Windows,
def self.on_windows?
- !!(RUBY_PLATFORM =~ /windows|bccwin|cygwin|djgpp|mingw|mswin|wince/i)
+ RUBY_PLATFORM =~ /windows|bccwin|cygwin|djgpp|mingw|mswin|wince/i
end
end
Nanoc3 = Nanoc