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