From: Vincent Pit Date: Sun, 15 Aug 2010 16:32:00 +0000 (+0200) Subject: Document the return value of LT::Functor::Rule::insert X-Git-Tag: rt87282~35 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=e82708f9111395800d13087a846bbec8a76cfcca;p=perl%2Fmodules%2FLaTeX-TikZ.git Document the return value of LT::Functor::Rule::insert --- diff --git a/lib/LaTeX/TikZ/Functor/Rule.pm b/lib/LaTeX/TikZ/Functor/Rule.pm index 0962e90..bccbb48 100644 --- a/lib/LaTeX/TikZ/Functor/Rule.pm +++ b/lib/LaTeX/TikZ/Functor/Rule.pm @@ -129,6 +129,8 @@ If C<$replace> is false, then the rule will be appended to the C<@list> ; except If C<$replace> is true, then the rule will replace the first rule in the list that is a subclass or that consumes the role denoted by the target. All the subsequent rules in the list that inherit or consume the target will be removed. +Returns true if and only if an existent rule was replaced. + =cut sub insert {