summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/stdlib-ext.gembox
blob: 2177dca36eaf5915ca81af02bc5f5d70390c3501 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# It also works with MRB_NO_STDIO and MRB_NO_FLOAT.

MRuby::GemBox.new do |conf|
  # Use standard Array#pack, String#unpack methods
  conf.gem :core => "mruby-pack"

  # Use standard Kernel#sprintf method
  conf.gem :core => "mruby-sprintf"

  # Use standard Time class
  conf.gem :core => "mruby-time"

  # Use standard Struct class
  conf.gem :core => "mruby-struct"

  # Use Random class
  conf.gem :core => "mruby-random"
end