summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2015-09-05 14:53:14 +0100
committerdakkar <dakkar@thenautilus.net>2015-09-05 14:53:14 +0100
commit360df02d84595d6dc412d00eec4490914643c91c (patch)
tree1f806d179ea57117a64f181f88be1154dbff156a
parentfirst attempt (diff)
downloadWebCoso-p6-360df02d84595d6dc412d00eec4490914643c91c.tar.gz
WebCoso-p6-360df02d84595d6dc412d00eec4490914643c91c.tar.bz2
WebCoso-p6-360df02d84595d6dc412d00eec4490914643c91c.zip
use attributes, not accessors
-rw-r--r--lib/WebCoso/Doc/Base.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/WebCoso/Doc/Base.pm b/lib/WebCoso/Doc/Base.pm
index 1b74427..2d6bb1a 100644
--- a/lib/WebCoso/Doc/Base.pm
+++ b/lib/WebCoso/Doc/Base.pm
@@ -3,10 +3,10 @@ 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 = 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();