summaryrefslogtreecommitdiffhomepage
path: root/templates/default/headersroot
diff options
context:
space:
mode:
authorSeba Gamboa <[email protected]>2015-09-24 18:30:12 -0300
committerSeba Gamboa <[email protected]>2015-09-24 18:30:12 -0300
commit5a6d8a0131140873fa1cd37bd3d76b0b06d633ae (patch)
tree16e82d4640e8e8e90f3b98fa3104f74cad73bc66 /templates/default/headersroot
parentc1f2404de71e9a8f73271b05f59a225728212069 (diff)
downloadyard-mruby-5a6d8a0131140873fa1cd37bd3d76b0b06d633ae.tar.gz
yard-mruby-5a6d8a0131140873fa1cd37bd3d76b0b06d633ae.zip
Renamed include to headers
Diffstat (limited to 'templates/default/headersroot')
-rw-r--r--templates/default/headersroot/html/headers_list.erb1
-rw-r--r--templates/default/headersroot/html/setup.rb10
2 files changed, 11 insertions, 0 deletions
diff --git a/templates/default/headersroot/html/headers_list.erb b/templates/default/headersroot/html/headers_list.erb
new file mode 100644
index 0000000..1b524aa
--- /dev/null
+++ b/templates/default/headersroot/html/headers_list.erb
@@ -0,0 +1 @@
+<h1>All headers</h1>
diff --git a/templates/default/headersroot/html/setup.rb b/templates/default/headersroot/html/setup.rb
new file mode 100644
index 0000000..5945ae4
--- /dev/null
+++ b/templates/default/headersroot/html/setup.rb
@@ -0,0 +1,10 @@
+def init
+ super
+ sections.push :headers_list
+
+ @namespace = object
+end
+
+def headers
+ object.headers
+end