summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-sleep/README.md
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2018-09-05 13:30:14 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2018-09-05 13:30:14 +0900
commit44fdd53f2e5bac6fe1cbc2ceb653aa5f2de965e6 (patch)
tree3996a77d842e22be202505ee6c3fe87f250bbb4b /mrbgems/mruby-sleep/README.md
parentb01b0d242b8f36c0a6f2de05126ce9ef87da7fc1 (diff)
downloadmruby-44fdd53f2e5bac6fe1cbc2ceb653aa5f2de965e6.tar.gz
mruby-44fdd53f2e5bac6fe1cbc2ceb653aa5f2de965e6.zip
Add `mruby-sleep` gem to the core.
Diffstat (limited to 'mrbgems/mruby-sleep/README.md')
-rw-r--r--mrbgems/mruby-sleep/README.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/mrbgems/mruby-sleep/README.md b/mrbgems/mruby-sleep/README.md
new file mode 100644
index 000000000..4543c49cf
--- /dev/null
+++ b/mrbgems/mruby-sleep/README.md
@@ -0,0 +1,27 @@
+# Sleep Module for mruby
+mruby sleep module
+
+## install by mrbgems
+ - add conf.gem line to `build_config.rb`
+```ruby
+MRuby::Build.new do |conf|
+
+ # ... (snip) ...
+
+ conf.gem :git => 'https://github.com/matsumoto-r/mruby-sleep.git'
+end
+```
+
+## example
+
+```ruby
+Sleep::sleep(10)
+Sleep::usleep(10000)
+```
+
+# License
+under the MIT License:
+
+* http://www.opensource.org/licenses/mit-license.php
+
+