diff options
author | Krzysztof Wilczynski <krzysztof.wilczynski@linux.com> | 2011-04-30 02:51:17 +0100 |
---|---|---|
committer | Krzysztof Wilczynski <krzysztof.wilczynski@linux.com> | 2011-04-30 02:51:17 +0100 |
commit | db7a27cf5b0cb5667b17e2cbc686bff4be3966b7 (patch) | |
tree | 220339ae284b8e65c5068db1f2287c1492d52ab0 | |
parent | 872c7f3c42557787662bdd42a3d6f69051d09a88 (diff) |
Small re-factor. Remove not needed complexity.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
-rw-r--r-- | fact.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -27,7 +27,7 @@ module Puppet::Parser::Functions # and empty string is as closest to actual undef as you we can get # at this point in time ... # - result = (result and not result.empty?) ? result : '' + result = result.empty? ? '' : result return result end |