mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
696226a60e
Previously for lists we were using both `*` and `-` to start the list items. This pr changes all lists to use `-`.
30 lines
364 B
Markdown
30 lines
364 B
Markdown
# Sleep Module for mruby
|
|
|
|
mruby sleep module
|
|
|
|
## Install by mrbgems
|
|
|
|
- add `conf.gem` line to your build configuration.
|
|
|
|
```ruby
|
|
MRuby::Build.new do |conf|
|
|
|
|
# ... (snip) ...
|
|
|
|
conf.gem :core => 'mruby-sleep'
|
|
end
|
|
```
|
|
|
|
## Example
|
|
|
|
```ruby
|
|
sleep(10)
|
|
usleep(10000)
|
|
```
|
|
|
|
# License
|
|
|
|
under the MIT License:
|
|
|
|
- <https://www.opensource.org/licenses/mit-license.php>
|