diff options
| author | W <[email protected]> | 2018-06-27 12:20:24 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-06-27 12:20:24 +0000 |
| commit | 3116d0600386aacce315f33a92ca4145961f275a (patch) | |
| tree | b7ca0ce1e40f9040820b8553211c661c4f33806f /doc | |
| parent | 695f29cd604787f43be1af16e38d13610bf8312b (diff) | |
| download | mruby-3116d0600386aacce315f33a92ca4145961f275a.tar.gz mruby-3116d0600386aacce315f33a92ca4145961f275a.zip | |
Add information about Kernel#binding
Diffstat (limited to 'doc')
| -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) +``` |
