Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

README.md

mruby-uname Build Status

Uname class, system uname bindings

install by mrbgems

  • add conf.gem line to build_config.rb
MRuby::Build.new do |conf|

    # ... (snip) ...

    conf.gem :git => 'https://github.com/matsumoto-r/mruby-uname.git'
end

example

$ ./bin/mirb
mirb - Embeddable Interactive Ruby Shell

> Uname.version
 => "#46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014"
> Uname.release
 => "3.13.0-24-generic"
> Uname.sysname
 => "Linux"
> Uname.nodename
 => "ubuntu14-04-64"
> Uname.machine
 => "x86_64"
>

License

under the MIT License:

  • see LICENSE file

About

system uname bindings

Resources

License

Releases

No releases published
You can’t perform that action at this time.