diff options
Diffstat (limited to 'rstrip.rb')
-rw-r--r-- | rstrip.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -13,8 +13,8 @@ module Puppet::Parser::Functions value = arguments[0] klass = value.class - if not [Array, String].include?(klass) - raise(Puppet::ParseError, 'rstrip(): Requires either an ' + + unless [Array, String].include?(klass) + raise(Puppet::ParseError, 'rstrip(): Requires either ' + 'array or string to work with') end |