summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-01-06 18:10:21 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-01-06 18:10:21 +0900
commit01aa2a990fdf22c25c95dd776f07779f5a06758d (patch)
treebd6e9d4aee64ec5154ecf28e0277f7ab7e17c776
parentaecb3a33e6d6a482fd009d16fadf16f7b436da93 (diff)
downloadmruby-01aa2a990fdf22c25c95dd776f07779f5a06758d.tar.gz
mruby-01aa2a990fdf22c25c95dd776f07779f5a06758d.zip
Specify receivers for `gembox` methods; ref #5241
-rw-r--r--mrbgems/default-no-fpu.gembox2
-rw-r--r--mrbgems/default-no-stdio.gembox4
-rw-r--r--mrbgems/default.gembox10
3 files changed, 8 insertions, 8 deletions
diff --git a/mrbgems/default-no-fpu.gembox b/mrbgems/default-no-fpu.gembox
index 57ebe164d..d671abd5c 100644
--- a/mrbgems/default-no-fpu.gembox
+++ b/mrbgems/default-no-fpu.gembox
@@ -1,3 +1,3 @@
MRuby::GemBox.new do |conf|
- gembox "stdlib"
+ conf.gembox "stdlib"
end
diff --git a/mrbgems/default-no-stdio.gembox b/mrbgems/default-no-stdio.gembox
index 8efb06a73..064a57f99 100644
--- a/mrbgems/default-no-stdio.gembox
+++ b/mrbgems/default-no-stdio.gembox
@@ -1,4 +1,4 @@
MRuby::GemBox.new do |conf|
- gembox "stdlib"
- gembox "math"
+ conf.gembox "stdlib"
+ conf.gembox "math"
end
diff --git a/mrbgems/default.gembox b/mrbgems/default.gembox
index f7618a6e0..ae2de2ac2 100644
--- a/mrbgems/default.gembox
+++ b/mrbgems/default.gembox
@@ -1,9 +1,9 @@
MRuby::GemBox.new do |conf|
- gembox "stdlib"
- gembox "stdlib-ext"
- gembox "stdlib-io"
- gembox "math"
- gembox "metaprog"
+ conf.gembox "stdlib"
+ conf.gembox "stdlib-ext"
+ conf.gembox "stdlib-io"
+ conf.gembox "math"
+ conf.gembox "metaprog"
# Generate mrbc command
conf.gem :core => "mruby-bin-mrbc"