FirstGem class
- add conf.gem line to
build_config.rb
MRuby::Build.new do |conf|
# ... (snip) ...
conf.gem :github => 'zero/mruby-first_gem'
end
p FirstGem.hi
#=> "hi!!"
t = FirstGem.new "hello"
p t.hello
#=> "hello"
p t.bye
#=> "hello bye"
under the MIT License:
- see LICENSE file