summaryrefslogtreecommitdiff
path: root/chef-utils/README.md
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2019-11-12 12:35:30 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2019-11-12 12:35:30 -0800
commit3cff851cfa1f336d622cc30bd2991347b91cf77f (patch)
tree0e8e81474a32096958db91e242113027ce5b5020 /chef-utils/README.md
parentae5a9aabfc6e1eec5581c45c300fb4286304e97b (diff)
downloadchef-3cff851cfa1f336d622cc30bd2991347b91cf77f.tar.gz
rename windows_ruby_platform? to windows_ruby?
while it checks against the RUBY_PLATFORM to see if it is windows, and so therefore the old name sort of makes sense, it does not make sense in the context of all the rest of the chef platform helpers that have the `_platform?` suffix. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'chef-utils/README.md')
-rw-r--r--chef-utils/README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/chef-utils/README.md b/chef-utils/README.md
index 79d0a1ac57..19e679839c 100644
--- a/chef-utils/README.md
+++ b/chef-utils/README.md
@@ -82,12 +82,12 @@ There are helpers here which are also meta-families which group together multipl
* `macos?`
* `netbsd?`
* `openbsd?`
-* `rhel?` - includes redhat, cnetos, scientific, oracle
+* `rhel?` - includes redhat, centos, scientific, oracle
* `smartos?`
* `solaris2?`
* `suse?`
-* `windows?`
-* `windows_ruby_platform?` - this is always true if the ruby VM is running on a windows host and is not stubbed by chefspec
+* `windows?` - in a class context when called without a node object (ChefUtils.windows?) this is not stubbable by chefspec, when called with a node as the first argument or when called from the DSL it is stubabble by chefspec
+* `windows_ruby?` - this is always true if the ruby VM is running on a windows host and is not stubbed by chefspec
Super Families: