mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Updated Scripting faq (markdown)
+2
-2
@@ -2,14 +2,14 @@
|
||||
|
||||
```
|
||||
> class String
|
||||
* def +
|
||||
* def +(s1)
|
||||
* end
|
||||
* end
|
||||
=> nil
|
||||
> "a" + "b"
|
||||
=> "ab"
|
||||
```
|
||||
This causes a error in CRuby.
|
||||
This causes a error in CRuby's irb, and returns ``nil`` in CRuby.
|
||||
This behavior is a limitation by the current implementation.
|
||||
|
||||
## I can't alias for global variables.
|
||||
|
||||
Reference in New Issue
Block a user