| 1 |
# It also works with MRB_NO_STDIO and MRB_NO_FLOAT. |
| 2 |
|
| 3 |
MRuby::GemBox.new do |conf| |
| 4 |
# Use standard Array#pack, String#unpack methods |
| 5 |
conf.gem :core => "mruby-pack" |
| 6 |
|
| 7 |
# Use standard Kernel#sprintf method |
| 8 |
conf.gem :core => "mruby-sprintf" |
| 9 |
|
| 10 |
# Use standard Time class |
| 11 |
conf.gem :core => "mruby-time" |
| 12 |
|
| 13 |
# Use standard Struct class |
| 14 |
conf.gem :core => "mruby-struct" |
| 15 |
|
| 16 |
# Use standard Data class |
| 17 |
conf.gem :core => "mruby-data" |
| 18 |
|
| 19 |
# Use Random class |
| 20 |
conf.gem :core => "mruby-random" |
| 21 |
end |