haconiwa / mruby-cgstat

Cgroup stat fetcher for mruby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mruby-cgstat Build Status

CGStat class

install by mrbgems

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

    # ... (snip) ...

    conf.gem :github => 'haconiwa/mruby-cgstat'
end

example

p CGStat.hi
#=> "hi!!"
t = CGStat.new "hello"
p t.hello
#=> "hello"
p t.bye
#=> "hello bye"

License

under the MIT License:

  • see LICENSE file

About

Cgroup stat fetcher for mruby

License:Other


Languages

Language:Ruby 67.2%Language:C 32.8%