Skip to content

Commit 99a684d

Browse files
committed
Fix Invalid tag format for @example
[warn]: Invalid tag format for @example in file `lib/puppet/parser/functions/foo.rb` near line 42
1 parent 3fd355d commit 99a684d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

lib/puppet/parser/functions/round.rb

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,9 @@ module Puppet::Parser::Functions
1111
@return
1212
the rounded value as integer
1313
14-
@example
15-
16-
```round(2.9)``` returns ```3```
17-
18-
```round(2.4)``` returns ```2```
14+
@example Example usage
15+
round(2.9) #=> 3
16+
round(2.4) #=> 2
1917
2018
> *Note:* from Puppet 6.0.0, the compatible function with the same name in Puppet core
2119
will be used instead of this function.

0 commit comments

Comments
 (0)