diff options
author | Reid Vandewiele <reid@puppetlabs.com> | 2017-07-03 11:33:15 -0700 |
---|---|---|
committer | Reid Vandewiele <reid@puppetlabs.com> | 2017-07-03 11:55:07 -0700 |
commit | 0f35700487368357adec8a535b5c50437b208264 (patch) | |
tree | 63d98d34831c1d722fe3198c3f1219cf85931c97 /spec/functions/max_spec.rb | |
parent | 409a974095a3f5b637e091494b5d14b451c5de78 (diff) |
Revert "Allow use of fact() on other hashes"
This reverts commit 409a974095a3f5b637e091494b5d14b451c5de78.
After thinking about this, use case, and function naming, I think it's
probably best for now to keep things simple and let `fact()` be
single-purpose for looking up facts with no potentially confusing
extensions. The only use case where the name makes sense is where it's
being used on the `$facts` hash, and I think we'd rather in that
circumstance promote the raw use of `fact()`.
Diffstat (limited to 'spec/functions/max_spec.rb')
0 files changed, 0 insertions, 0 deletions