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