summaryrefslogtreecommitdiff
path: root/join_with_prefix.rb
diff options
context:
space:
mode:
Diffstat (limited to 'join_with_prefix.rb')
-rw-r--r--join_with_prefix.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/join_with_prefix.rb b/join_with_prefix.rb
index c0a2e4e..8bf96d9 100644
--- a/join_with_prefix.rb
+++ b/join_with_prefix.rb
@@ -13,8 +13,8 @@ module Puppet::Parser::Functions
array = arguments[0]
- if not array.is_a?(Array)
- raise(Puppet::ParseError, 'join_with_prefix(): Requires an ' +
+ unless array.is_a?(Array)
+ raise(Puppet::ParseError, 'join_with_prefix(): Requires ' +
'array to work with')
end