system uname bindings
C Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
mrblib
src
test
.travis.yml
.travis_build_config.rb
LICENSE
README.md
mrbgem.rake

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