summaryrefslogtreecommitdiff
path: root/lib/WebCoso/Maker/RST.pm
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2015-09-10 15:46:11 +0100
committerdakkar <dakkar@thenautilus.net>2015-09-10 15:46:11 +0100
commit99f8ccd6cddc6fa9a021d4118e6a706a19e474b1 (patch)
tree5316e1bbfed711087393f4a1e8fd103cbc5d9cfb /lib/WebCoso/Maker/RST.pm
parentwork around rakudo bug #126006 (diff)
downloadWebCoso-p6-99f8ccd6cddc6fa9a021d4118e6a706a19e474b1.tar.gz
WebCoso-p6-99f8ccd6cddc6fa9a021d4118e6a706a19e474b1.tar.bz2
WebCoso-p6-99f8ccd6cddc6fa9a021d4118e6a706a19e474b1.zip
maybe I got deps working
I'd still like to make the whole thing more readable, though
Diffstat (limited to 'lib/WebCoso/Maker/RST.pm')
-rw-r--r--lib/WebCoso/Maker/RST.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/WebCoso/Maker/RST.pm b/lib/WebCoso/Maker/RST.pm
index 76bc127..8f11817 100644
--- a/lib/WebCoso/Maker/RST.pm
+++ b/lib/WebCoso/Maker/RST.pm
@@ -1,7 +1,7 @@
# -*- mode: perl6 -*-
use WebCoso::Maker;
class WebCoso::Maker::RST does WebCoso::Maker['rest.txt','du.xml'] {
- method process-contents(:src($rst),:@deps) {
- return "{$rst} parsed";
+ method process-contents($rst) {
+ return "{$rst.contents} parsed";
}
}