README.md in rgot-1.1.0 vs README.md in rgot-1.2.0
- old
+ new
@@ -339,11 +339,11 @@
And this is default virtual main code.
```ruby
module TestSomeCode
def test_main(m)
- exit m.run
+ m.run
end
end
```
Main method should be set 'test_main' only.
@@ -360,10 +360,10 @@
module TestSomeCode
def test_main(m)
the_before_running_some_code
code = m.run
the_after_running_some_code
- exit code
+ code
end
end
```
## Rgot::Common