diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2018-06-28 08:43:25 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-06-28 08:43:25 +0900 |
| commit | e60829405c9a4681d04d73ecda16aa53f0f21d4b (patch) | |
| tree | b7ca0ce1e40f9040820b8553211c661c4f33806f | |
| parent | 695f29cd604787f43be1af16e38d13610bf8312b (diff) | |
| parent | 3116d0600386aacce315f33a92ca4145961f275a (diff) | |
| download | mruby-e60829405c9a4681d04d73ecda16aa53f0f21d4b.tar.gz mruby-e60829405c9a4681d04d73ecda16aa53f0f21d4b.zip | |
Merge pull request #4063 from graywolf/patch-1
Add information about Kernel#binding
| -rw-r--r-- | doc/limitations.md | 20 |
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) +``` |
