lib/boom/platform.rb in boom-0.2.1 vs lib/boom/platform.rb in boom-0.2.2
- old
+ new
@@ -21,10 +21,10 @@
#
# Apparently Windows RUBY_PLATFORM can be 'win32' or 'mingw32'
#
# Returns true if running on windows (win32/mingw32), else false
def windows?
- !!(RUBY_PLATFORM =~ /win|mingw/)
+ !!(RUBY_PLATFORM =~ /mswin|mingw/)
end
# Public: returns the command used to open a file or URL
# for the current platform.
#