From 3116d0600386aacce315f33a92ca4145961f275a Mon Sep 17 00:00:00 2001 From: W Date: Wed, 27 Jun 2018 12:20:24 +0000 Subject: Add information about Kernel#binding --- doc/limitations.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'doc') diff --git a/doc/limitations.md b/doc/limitations.md index 9d8924cff..afcb7b56e 100644 --- a/doc/limitations.md +++ b/doc/limitations.md @@ -185,3 +185,23 @@ The re-defined ```+``` operator does not accept any arguments. ``` 'ab' ``` Behavior of the operator wasn't changed. + +## Kernel#binding is not supported + +`Kernel#binding` method is not supported. + +#### Ruby [ruby 2.5.1p57 (2018-03-29 revision 63029)] + +``` +$ ruby -e 'puts Proc.new {}.binding' +# +``` + +#### mruby [1.4.1 (2018-4-27)] + +``` +$ ./bin/mruby -e 'puts Proc.new {}.binding' +trace (most recent call last): + [0] -e:1 +-e:1: undefined method 'binding' (NoMethodError) +``` -- cgit v1.2.3