summaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorDaniel Bovensiepen <[email protected]>2013-05-02 13:52:56 +0800
committerDaniel Bovensiepen <[email protected]>2013-05-02 13:52:56 +0800
commitd8ce46feda8cfb5533719f060365aa579caadce1 (patch)
tree3868d35d353c133b9e2f52df8c6b1982a4c212d8 /doc
parent823dc380aa834efb34e461305480834c38c9c0ea (diff)
downloadmruby-d8ce46feda8cfb5533719f060365aa579caadce1.tar.gz
mruby-d8ce46feda8cfb5533719f060365aa579caadce1.zip
Fix add_dependency declaration documentation
Diffstat (limited to 'doc')
-rw-r--r--doc/mrbgems/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/mrbgems/README.md b/doc/mrbgems/README.md
index 046717f8c..f821379de 100644
--- a/doc/mrbgems/README.md
+++ b/doc/mrbgems/README.md
@@ -112,7 +112,7 @@ information purpose:
It is required for every GEM to have a license and an author!
In case your GEM is depending on other GEMs please use
-`spec.add_dependency(gem, requirements)` like:
+`spec.add_dependency(gem, *requirements)` like:
MRuby::Gem::Specification.new('c_and_ruby_extension_example') do |spec|
spec.license = 'MIT'