| Meh... (it also uses camelcase() in an example - which is yet another copy/paste error in there). This is the version on master:
# ```puppet |
# " hello\n\t".lstrip() |
# camelcase(" hello\n\t") |
# ``` |
# Would both result in `"hello"` |
# |
# @example Removing trailing space from strings in an Array |
# ```puppet |
# [" hello\n\t", " hi\n\t"].lstrip() |
# lstrip([" hello\n\t", " hi\n\t"]) |
# ``` |
# Would both result in `['hello', 'hi']` |
#
|
Should be changed to:
# ```puppet |
# " hello\n\t".strip() |
# strip(" hello\n\t") |
# ``` |
# Would both result in `"hello"` |
# |
# @example Removing trailing space from strings in an Array |
# ```puppet |
# [" hello\n\t", " hi\n\t"].strip() |
# strip([" hello\n\t", " hi\n\t"]) |
# ``` |
# Would both result in `['hello', 'hi']` |
#
|
|