summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-sleep/README.md
diff options
context:
space:
mode:
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..7707cd040
--- /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 :core => 'mruby-sleep'
+end
+```
+
+## example
+
+```ruby
+sleep(10)
+usleep(10000)
+```
+
+# License
+under the MIT License:
+
+* http://www.opensource.org/licenses/mit-license.php
+
+