lib/grid_tools.rb in grid_tools-0.0.3 vs lib/grid_tools.rb in grid_tools-0.0.4
- old
+ new
@@ -10,12 +10,12 @@
end
def self.mac?
(/darwin/ =~ RUBY_PLATFORM) != nil
end
def self.unix?
- !OS.windows?
+ !GridTools.windows?
end
def self.linux?
- OS.unix? and not OS.mac?
+ GridTools.unix? and not GridTools.mac?
end
end