summaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
authorSeba Gamboa <[email protected]>2015-09-29 14:32:23 -0300
committerSeba Gamboa <[email protected]>2015-09-29 14:32:23 -0300
commit5bc3b5e82c771a8238f94c8c231cfacc22b5ecb3 (patch)
tree2e78e6e6596fd601f825958d6c8870f4ba7efca4 /templates
parent207b24f6a43945b620adad9e26d236671b645465 (diff)
downloadyard-mruby-5bc3b5e82c771a8238f94c8c231cfacc22b5ecb3.tar.gz
yard-mruby-5bc3b5e82c771a8238f94c8c231cfacc22b5ecb3.zip
Add function parameters to docs
Diffstat (limited to 'templates')
-rw-r--r--templates/default/tags/setup.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/default/tags/setup.rb b/templates/default/tags/setup.rb
new file mode 100644
index 0000000..382e6f6
--- /dev/null
+++ b/templates/default/tags/setup.rb
@@ -0,0 +1,7 @@
+def init
+ super
+end
+
+def param
+ super || tag(:param) if object.type == :function
+end