Skip to content

matsumotory/mruby-uname

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

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

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published