X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FZeal%2FDocument.pm;h=ccc5de6b2b9155e6b1a113920a3909a16c2d59ce;hb=1a477fa4fdc40fd4142e2a01ff12865381cd7d8e;hp=4d80226fd8f7d5827cc120a6f069f7e7e805c406;hpb=164f653cb3a8ecfc674451034b4fd3fd10bfc6e0;p=zeal.git
diff --git a/lib/Zeal/Document.pm b/lib/Zeal/Document.pm
index 4d80226..ccc5de6 100644
--- a/lib/Zeal/Document.pm
+++ b/lib/Zeal/Document.pm
@@ -4,10 +4,10 @@ use 5.014000;
use strict;
use warnings;
-our $VERSION = '0.000_002';
+our $VERSION = '0.001';
use parent qw/Class::Accessor::Fast/;
-__PACKAGE__->mk_accessors(qw/id name type path docset/);
+__PACKAGE__->mk_accessors(qw/id name type path anchor docset/);
sub fetch {
my ($self) = @_;
@@ -60,6 +60,10 @@ The path of this document, relative to
F. This can also be a HTTP
URL.
+=item $doc->B
+
+The URL anchor/fragment identifier of this document.
+
=item $doc->B
The HTML content of this document, retrieved from the file system or
@@ -77,7 +81,7 @@ Marius Gavrilescu, Emarius@ieval.roE
=head1 COPYRIGHT AND LICENSE
-Copyright (C) 2014 by Marius Gavrilescu
+Copyright (C) 2014-2015 by Marius Gavrilescu
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.20.1 or,