summaryrefslogtreecommitdiffstats
path: root/scripts/MarkdownBook/Document
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-08-10 12:34:47 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-08-10 12:34:47 (EDT)
commit9a90b5ef3d8f9572838700fa27ec568d29f76d64 (patch)
tree00de5c0b5541bbf6f9a83ed2e8791a4741ded1cc /scripts/MarkdownBook/Document
parent5f516d09b5f33284c65b75b5c03d5144ed7c6418 (diff)
Standardize constructor code style.
Diffstat (limited to 'scripts/MarkdownBook/Document')
-rw-r--r--scripts/MarkdownBook/Document/Index.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/MarkdownBook/Document/Index.pm b/scripts/MarkdownBook/Document/Index.pm
index e005396..df94305 100644
--- a/scripts/MarkdownBook/Document/Index.pm
+++ b/scripts/MarkdownBook/Document/Index.pm
@@ -29,7 +29,8 @@ sub new
$class = ref($class) || $class;
$self = {};
- bless($self,$class);
+ bless($self, $class);
+
$self->{'book'} = $book;
$self->{'file'} = 'index';
$self->{'title'} = $book->title();