From 792f6ac6700469ddf9be8f87ca3376082f9af7f3 Mon Sep 17 00:00:00 2001 From: dearblue Date: Mon, 22 Feb 2021 23:32:18 +0900 Subject: Adjustment of the current HEAD and bindings, and separation Make changes to make `Binding` work. At the same time, it separates `Binding#eval`, which depends on `mruby-eval`, from `mruby-binding-core`. --- mrbgems/mruby-binding/mrblib/binding.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 mrbgems/mruby-binding/mrblib/binding.rb (limited to 'mrbgems/mruby-binding/mrblib') diff --git a/mrbgems/mruby-binding/mrblib/binding.rb b/mrbgems/mruby-binding/mrblib/binding.rb new file mode 100644 index 000000000..b07480db1 --- /dev/null +++ b/mrbgems/mruby-binding/mrblib/binding.rb @@ -0,0 +1,5 @@ +class Binding + def eval(expr, *args) + Kernel.eval(expr, self, *args) + end +end -- cgit v1.2.3