Merge pull request #4185 from icm7216/fix-sleep-example

Fix sleep example
This commit is contained in:
Yukihiro "Matz" Matsumoto
2018-12-12 13:48:58 +09:00
committed by GitHub
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -8,15 +8,15 @@ MRuby::Build.new do |conf|
# ... (snip) ...
conf.gem :git => 'https://github.com/matsumoto-r/mruby-sleep.git'
conf.gem :core => 'mruby-sleep'
end
```
## example
```ruby
Sleep::sleep(10)
Sleep::usleep(10000)
sleep(10)
usleep(10000)
```
# License
+2 -2
View File
@@ -1,3 +1,3 @@
Sleep::sleep(10)
Sleep::usleep(10000)
sleep(10)
usleep(10000)