diff options
author | Tim Smith <tsmith@chef.io> | 2018-02-14 12:02:45 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-02-14 12:31:55 -0800 |
commit | 44b8293813c1ddeaa14382c180a8fe5fe793d366 (patch) | |
tree | cccc6a9f3f56bc19d43e68de2ec777b241facafd /lib | |
parent | 025153840c7841486ddf929fb1ef033b52eb9307 (diff) | |
download | chef-44b8293813c1ddeaa14382c180a8fe5fe793d366.tar.gz |
Use TrueClass / FalseClass and remove kind_of
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/resource/ohai_hint.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/resource/ohai_hint.rb b/lib/chef/resource/ohai_hint.rb index 3f9b1aba53..e2d0a3a4e1 100644 --- a/lib/chef/resource/ohai_hint.rb +++ b/lib/chef/resource/ohai_hint.rb @@ -25,16 +25,16 @@ class Chef introduced "14.0" property :hint_name, - kind_of: String, + String, description: "The name of hints file if different from the resource name", name_property: true property :content, - kind_of: Hash, + Hash, description: "A Hash of values to include in the hint file" property :compile_time, - kind_of: [true, false], + [TrueClass, FalseClass], description: "Should the resource execute during the compile time phase", default: true |