diff options
Diffstat (limited to 'lib/WebCoso/Doc/Base.pm')
-rw-r--r-- | lib/WebCoso/Doc/Base.pm | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/WebCoso/Doc/Base.pm b/lib/WebCoso/Doc/Base.pm new file mode 100644 index 0000000..1b74427 --- /dev/null +++ b/lib/WebCoso/Doc/Base.pm @@ -0,0 +1,14 @@ +# -*- mode: perl6 -*- +role WebCoso::Doc::Base[$basename] { + has $!wc; + has $.dir; + + has $.tt = Maker::TT.new(:$basename,:$.dir,:$!wc); + has $.rst = Maker::RST.new(:$basename,:$.dir,:$!wc); + has $.xhtml = Maker::XHTML.new(:$basename,:$.dir,:$!wc); + has $.html = Maker::HTML.new(:$basename,:$.dir,:$!wc); + + method make() { + .html.get-files(); + } +} |