vendor/mruby-source/mrbgems/stdlib-io.gembox
raw| 1 | # It also works with MRB_NO_FLOAT. |
| 2 | |
| 3 | MRuby::GemBox.new do |conf| |
| 4 | # Use standard IO/File class |
| 5 | conf.gem :core => "mruby-io" |
| 6 | |
| 7 | # Use standard IO/File class |
| 8 | conf.gem :core => "mruby-socket" |
| 9 | |
| 10 | # Use standard print/puts/p |
| 11 | conf.gem :core => "mruby-print" |
| 12 | |
| 13 | # Use errno extension for a good mruby-io/mruby-socket experience |
| 14 | conf.gem :core => "mruby-errno" |
| 15 | |
| 16 | # Use Dir class |
| 17 | conf.gem :core => "mruby-dir" |
| 18 | end |