[ANN] os gem 0.9.1 more of the same!

Hello all.
Thanks to some help from mattscilipoti I am pleased to announce another
iteration release of the “OS” gem.

The OS gem provides such useful things as “OS.jruby? => true” “OS.bits
=> 64”

Notable additions:

puts OS.report
==> # a yaml report of helpful values

---
arch: x86_64-darwin10.6.0
target_os: darwin10.6.0
target_vendor: apple
target_cpu: x86_64
target: x86_64-apple-darwin10.6.0
host_os: darwin10.6.0
host_vendor: apple
host_cpu: i386
host: i386-apple-darwin10.6.0
RUBY_PLATFORM: x86_64-darwin10.6.0

OS.dev_null
=> “NUL” # or “/dev/null” depending on which platform

OS.cpu_count
=> 2

Enjoy!

-roger-

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs