X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;ds=sidebyside;f=lib%2FZeal%2FDocument.pm;h=3ce27bca885ca512ebf27324a07ea67a641dce62;hb=refs%2Ftags%2F0.000_003;hp=4d80226fd8f7d5827cc120a6f069f7e7e805c406;hpb=164f653cb3a8ecfc674451034b4fd3fd10bfc6e0;p=zeal.git
diff --git a/lib/Zeal/Document.pm b/lib/Zeal/Document.pm
index 4d80226..3ce27bc 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.000_003';
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,