README.rdoc in os-0.4.0 vs README.rdoc in os-0.5.0
- old
+ new
@@ -1,8 +1,5 @@
-OS
-
-
The OS gem allows for some easy telling if you're on windows or not.
require 'os'
>> OS.windows?
=> true
@@ -11,9 +8,19 @@
=> 32
>> OS.java?
=> true
+>> OS.ruby_exe
+=> "c:\ruby18\bin\ruby.exe" # or "/usr/local/bin/ruby" or what not
+
+>> OS.posix?
+=> false
+
If there are any other features you'd like, let me know.
github.com/rdp/os
+
+Related:
+Gem.ruby
+Platform gem