diff options
Diffstat (limited to 'lib/WebCoso/Doc/Base.pm')
-rw-r--r-- | lib/WebCoso/Doc/Base.pm | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/lib/WebCoso/Doc/Base.pm b/lib/WebCoso/Doc/Base.pm index 2d6bb1a..9ceefa1 100644 --- a/lib/WebCoso/Doc/Base.pm +++ b/lib/WebCoso/Doc/Base.pm @@ -1,12 +1,17 @@ # -*- mode: perl6 -*- +use WebCoso::Maker::TT; +use WebCoso::Maker::RST; +use WebCoso::Maker::XHTML; +use WebCoso::Maker::HTML; + 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); + has $.tt = WebCoso::Maker::TT.new(:$basename,:$!dir,:$!wc); + has $.rst = WebCoso::Maker::RST.new(:$basename,:$!dir,:$!wc); + has $.xhtml = WebCoso::Maker::XHTML.new(:$basename,:$!dir,:$!wc); + has $.html = WebCoso::Maker::HTML.new(:$basename,:$!dir,:$!wc); method make() { .html.get-files(); |