Skip to content

matsumotory/mruby-uname

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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