From: "naruse (Yui NARUSE)" Date: 2012-07-26T09:04:05+09:00 Subject: [ruby-core:46781] [ruby-trunk - Feature #6792][Feedback] request for easier system properties access Issue #6792 has been updated by naruse (Yui NARUSE). Status changed from Open to Feedback Write more concrete proposal. ---------------------------------------- Feature #6792: request for easier system properties access https://bugs.ruby-lang.org/issues/6792#change-28451 Author: rogerdpack (Roger Pack) Status: Feedback Priority: Normal Assignee: Category: Target version: Before I forget about it, it would be nice for Ruby to have some way to access certain system properties more easily: require 'os' >> OS.bits => 32 >> OS.windows? => false >> OS.rss_bytes => 123456 >> OS.cpu_count => 5 So this is a request for a helper class for such. Ex: https://github.com/rdp/os -- http://bugs.ruby-lang.org/