summaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-03-05 17:36:12 +0900
committerGitHub <[email protected]>2021-03-05 17:36:12 +0900
commit111e4e1ba8e4cfd098935d4ed1198327afd77194 (patch)
tree5f3441e4367a5238534cc5c156adaa0a038b0ef0 /doc
parenta712755036d3fe48a8bde1ec8de8e65f6968cf12 (diff)
parent0f45836b5954accf508f333f932741b925214471 (diff)
downloadmruby-111e4e1ba8e4cfd098935d4ed1198327afd77194.tar.gz
mruby-111e4e1ba8e4cfd098935d4ed1198327afd77194.zip
Merge pull request #5373 from mruby/stable
Merge mruby 3.0.0
Diffstat (limited to 'doc')
-rw-r--r--doc/guides/debugger.md2
-rw-r--r--doc/limitations.md20
2 files changed, 11 insertions, 11 deletions
diff --git a/doc/guides/debugger.md b/doc/guides/debugger.md
index 5c49e2af2..bb3db7cd7 100644
--- a/doc/guides/debugger.md
+++ b/doc/guides/debugger.md
@@ -38,7 +38,7 @@ To confirm mrdb was installed properly, run mrdb with the `--version` option:
```bash
$ mrdb --version
-mruby 2.1.2 (2020-08-06)
+mruby 3.0.0 (2021-03-05)
```
## 2.2 Basic Operation
diff --git a/doc/limitations.md b/doc/limitations.md
index e6eb3f4a9..ee3107297 100644
--- a/doc/limitations.md
+++ b/doc/limitations.md
@@ -29,7 +29,7 @@ puts [1,2,3]
3
```
-#### mruby [2.1.2 (2020-08-06)]
+#### mruby [3.0.0 (2021-03-05)]
```
[1, 2, 3]
@@ -52,7 +52,7 @@ end
`ZeroDivisionError` is raised.
-#### mruby [2.1.2 (2020-08-06)]
+#### mruby [3.0.0 (2021-03-05)]
No exception is raised. Instead you have to do:
@@ -88,7 +88,7 @@ p Liste.new "foobar"
` [] `
-#### mruby [2.1.2 (2020-08-06)]
+#### mruby [3.0.0 (2021-03-05)]
`ArgumentError` is raised.
@@ -118,7 +118,7 @@ false
true
```
-#### mruby [2.1.2 (2020-08-06)]
+#### mruby [3.0.0 (2021-03-05)]
```
true
@@ -155,7 +155,7 @@ p 'ok'
ok
```
-#### mruby [2.1.2 (2020-08-06)]
+#### mruby [3.0.0 (2021-03-05)]
```
test.rb:8: undefined method 'test_func' (NoMethodError)
@@ -177,7 +177,7 @@ defined?(Foo)
nil
```
-#### mruby [2.1.2 (2020-08-06)]
+#### mruby [3.0.0 (2021-03-05)]
`NameError` is raised.
@@ -194,7 +194,7 @@ alias $a $__a__
` nil `
-#### mruby [2.1.2 (2020-08-06)]
+#### mruby [3.0.0 (2021-03-05)]
Syntax error
@@ -216,7 +216,7 @@ end
`ArgumentError` is raised.
The re-defined `+` operator does not accept any arguments.
-#### mruby [2.1.2 (2020-08-06)]
+#### mruby [3.0.0 (2021-03-05)]
` 'ab' `
Behavior of the operator wasn't changed.
@@ -232,7 +232,7 @@ $ ruby -e 'puts Proc.new {}.binding'
#<Binding:0x00000e9deabb9950>
```
-#### mruby [2.1.2 (2020-08-06)]
+#### mruby [3.0.0 (2021-03-05)]
```
$ ./bin/mruby -e 'puts Proc.new {}.binding'
@@ -253,7 +253,7 @@ $ ruby -e 'def m(*r,**k) p [r,k] end; m("a"=>1,:b=>2)'
[[{"a"=>1}], {:b=>2}]
```
-#### mruby [mruby 2.1.2]
+#### mruby [3.0.0 (2021-03-05)]
```
$ ./bin/mruby -e 'def m(*r,**k) p [r,k] end; m("a"=>1,:b=>2)'