summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/str2bool.rb
diff options
context:
space:
mode:
authorSharif Nassar <sharif@mediatemple.net>2014-02-05 15:01:45 -0800
committerSharif Nassar <sharif@mediatemple.net>2014-02-05 15:01:45 -0800
commita972e0645b31cf1eb89874cb08b403bdc0fad3a4 (patch)
treeb0287e655c51232037602dcd112d3a4a8a53906c /lib/puppet/parser/functions/str2bool.rb
parent5b85e7c39f34b3004881517f886d7f06f8f2a440 (diff)
downloadpuppet-stdlib-a972e0645b31cf1eb89874cb08b403bdc0fad3a4.tar.gz
puppet-stdlib-a972e0645b31cf1eb89874cb08b403bdc0fad3a4.tar.bz2
Remove trailing whitespace
Diffstat (limited to 'lib/puppet/parser/functions/str2bool.rb')
-rw-r--r--lib/puppet/parser/functions/str2bool.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/functions/str2bool.rb b/lib/puppet/parser/functions/str2bool.rb
index fece7a6..446732e 100644
--- a/lib/puppet/parser/functions/str2bool.rb
+++ b/lib/puppet/parser/functions/str2bool.rb
@@ -14,7 +14,7 @@ like: 0, f, n, false, no to 'false'.
"given (#{arguments.size} for 1)") if arguments.size < 1
string = arguments[0]
-
+
# If string is already Boolean, return it
if !!string == string
return string