Actions
Feature #6792
closedrequest for easier system properties access
    Feature #6792:
    request for easier system properties access
  
Status:
Feedback
Assignee:
-
Target version:
-
Description
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
        
           Updated by naruse (Yui NARUSE) over 13 years ago
          Updated by naruse (Yui NARUSE) over 13 years ago
          
          
        
        
      
      - Status changed from Open to Feedback
Write more concrete proposal.
        
           Updated by mame (Yusuke Endoh) almost 13 years ago
          Updated by mame (Yusuke Endoh) almost 13 years ago
          
          
        
        
      
      - Target version set to 2.6
        
           Updated by naruse (Yui NARUSE) almost 8 years ago
          Updated by naruse (Yui NARUSE) almost 8 years ago
          
          
        
        
      
      - Target version deleted (2.6)
Actions