mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #4014 from mruby/stable
Set the mruby-1.4.1 release date to `2018-4-27`.
This commit is contained in:
@@ -17,7 +17,7 @@ of the Ministry of Economy, Trade and Industry of Japan.
|
||||
|
||||
## How to get mruby
|
||||
|
||||
The stable version 1.4.0 of mruby can be downloaded via the following URL: [https://github.com/mruby/mruby/archive/1.4.0.zip](https://github.com/mruby/mruby/archive/1.4.0.zip)
|
||||
The stable version 1.4.1 of mruby can be downloaded via the following URL: [https://github.com/mruby/mruby/archive/1.4.1.zip](https://github.com/mruby/mruby/archive/1.4.1.zip)
|
||||
|
||||
The latest development version of mruby can be downloaded via the following URL: [https://github.com/mruby/mruby/zipball/master](https://github.com/mruby/mruby/zipball/master)
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ To confirm mrdb was installed properly, run mrdb with the `--version` option:
|
||||
|
||||
```bash
|
||||
$ mrdb --version
|
||||
mruby 1.4.0 (2018-1-16)
|
||||
mruby 1.4.1 (2018-4-27)
|
||||
```
|
||||
|
||||
## 2.2 Basic Operation
|
||||
|
||||
+7
-7
@@ -38,7 +38,7 @@ puts [1,2,3]
|
||||
3
|
||||
```
|
||||
|
||||
#### mruby [1.4.0 (2018-1-16)]
|
||||
#### mruby [1.4.1 (2018-4-27)]
|
||||
|
||||
```
|
||||
[1, 2, 3]
|
||||
@@ -61,7 +61,7 @@ end
|
||||
|
||||
```ZeroDivisionError``` is raised.
|
||||
|
||||
#### mruby [1.4.0 (2018-1-16)]
|
||||
#### mruby [1.4.1 (2018-4-27)]
|
||||
|
||||
No exception is raised.
|
||||
|
||||
@@ -89,7 +89,7 @@ p Liste.new "foobar"
|
||||
|
||||
``` [] ```
|
||||
|
||||
#### mruby [1.4.0 (2018-1-16)]
|
||||
#### mruby [1.4.1 (2018-4-27)]
|
||||
|
||||
```ArgumentError``` is raised.
|
||||
|
||||
@@ -119,7 +119,7 @@ false
|
||||
true
|
||||
```
|
||||
|
||||
#### mruby [1.4.0 (2018-1-16)]
|
||||
#### mruby [1.4.1 (2018-4-27)]
|
||||
|
||||
```
|
||||
true
|
||||
@@ -142,7 +142,7 @@ defined?(Foo)
|
||||
nil
|
||||
```
|
||||
|
||||
#### mruby [1.4.0 (2018-1-16)]
|
||||
#### mruby [1.4.1 (2018-4-27)]
|
||||
|
||||
```NameError``` is raised.
|
||||
|
||||
@@ -159,7 +159,7 @@ alias $a $__a__
|
||||
|
||||
``` nil ```
|
||||
|
||||
#### mruby [1.4.0 (2018-1-16)]
|
||||
#### mruby [1.4.1 (2018-4-27)]
|
||||
|
||||
Syntax error
|
||||
|
||||
@@ -181,7 +181,7 @@ end
|
||||
```ArgumentError``` is raised.
|
||||
The re-defined ```+``` operator does not accept any arguments.
|
||||
|
||||
#### mruby [1.4.0 (2018-1-16)]
|
||||
#### mruby [1.4.1 (2018-4-27)]
|
||||
|
||||
``` 'ab' ```
|
||||
Behavior of the operator wasn't changed.
|
||||
|
||||
@@ -47,7 +47,7 @@ MRB_BEGIN_DECL
|
||||
/*
|
||||
* Tiny release version number.
|
||||
*/
|
||||
#define MRUBY_RELEASE_TEENY 0
|
||||
#define MRUBY_RELEASE_TEENY 1
|
||||
|
||||
/*
|
||||
* The mruby version.
|
||||
@@ -67,12 +67,12 @@ MRB_BEGIN_DECL
|
||||
/*
|
||||
* Release month.
|
||||
*/
|
||||
#define MRUBY_RELEASE_MONTH 1
|
||||
#define MRUBY_RELEASE_MONTH 4
|
||||
|
||||
/*
|
||||
* Release day.
|
||||
*/
|
||||
#define MRUBY_RELEASE_DAY 16
|
||||
#define MRUBY_RELEASE_DAY 27
|
||||
|
||||
/*
|
||||
* Release date as a string.
|
||||
|
||||
Reference in New Issue
Block a user