Module: Uname
- Defined in:
- lib/uname.rb
Overview
Uname module Interface to ‘uname` [or `ver` on Windows]. Copyright © 2011 Sam Saint-Pettersen.
Released under the MIT/X11 License.
Class Method Summary collapse
- .short ⇒ Object
-
.sysname ⇒ Object
Equivalent to Uname.short, for compatibility with ‘sys/uname`, which this module was written to replace for compatibility with IronRuby - no C code here ;).
Class Method Details
.short ⇒ Object
17 18 19 |
# File 'lib/uname.rb', line 17 def self.short() self.invokeUname("-s") end |
.sysname ⇒ Object
Equivalent to Uname.short, for compatibility with ‘sys/uname`, which this module was written to replace for compatibility with IronRuby - no C code here ;).
13 14 15 |
# File 'lib/uname.rb', line 13 def self.sysname() self.short end |