Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Mark Pod::Block.content as deprecated
  • Loading branch information
hoelzro committed Aug 19, 2014
1 parent fb58e1f commit 358271b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core/Pod.pm
Expand Up @@ -31,6 +31,11 @@ my class Pod::Block {
multi method gist(Pod::Block:D:) {
pod-gist(self)
}

method content { # is DEPRECATED doesn't work in settings
DEPRECATED("Pod::Block.contents");
@.contents
}
}

my class Pod::Block::Para is Pod::Block {
Expand Down

0 comments on commit 358271b

Please sign in to comment.