X-Git-Url: http://git.ieval.ro/?p=zeal.git;a=blobdiff_plain;f=lib%2FZeal%2FDocument.pm;fp=lib%2FZeal%2FDocument.pm;h=d4156702349d482ecd9e5b6b5ca03b619c44a83b;hp=4d80226fd8f7d5827cc120a6f069f7e7e805c406;hb=04ee5ba7deed4b0d2479ddd4139ae1999b69d3ca;hpb=795a1ad18a72354f8ad601a31c85481de7b196c0 diff --git a/lib/Zeal/Document.pm b/lib/Zeal/Document.pm index 4d80226..d415670 100644 --- a/lib/Zeal/Document.pm +++ b/lib/Zeal/Document.pm @@ -7,7 +7,7 @@ use warnings; our $VERSION = '0.000_002'; 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