summaryrefslogtreecommitdiffhomepage
path: root/doc/limitations.md
diff options
context:
space:
mode:
authorW <[email protected]>2018-06-27 12:20:24 +0000
committerGitHub <[email protected]>2018-06-27 12:20:24 +0000
commit3116d0600386aacce315f33a92ca4145961f275a (patch)
treeb7ca0ce1e40f9040820b8553211c661c4f33806f /doc/limitations.md
parent695f29cd604787f43be1af16e38d13610bf8312b (diff)
downloadmruby-3116d0600386aacce315f33a92ca4145961f275a.tar.gz
mruby-3116d0600386aacce315f33a92ca4145961f275a.zip
Add information about Kernel#binding
Diffstat (limited to 'doc/limitations.md')
-rw-r--r--doc/limitations.md20
1 files changed, 20 insertions, 0 deletions
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'
+#<Binding:0x00000e9deabb9950>
+```
+
+#### 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)
+```