lib/shuhari/platform.rb in shuhari-0.1.0 vs lib/shuhari/platform.rb in shuhari-0.1.1

- old
+ new

@@ -19,9 +19,13 @@ def linux? os == :linux end + def windows? + os == :windows + end + def os @os ||= case RUBY_PLATFORM when /darwin/ then :osx when /linux/ then :linux when /win32/, /mingw32/ then :windows