diff options
author | Thom May <thom@chef.io> | 2018-02-12 16:33:32 +0000 |
---|---|---|
committer | Thom May <thom@chef.io> | 2018-02-12 17:36:30 +0000 |
commit | 520c01e16658484a07ec3b71fddf2816c27fed44 (patch) | |
tree | aa4190afc908baea7a15dab0d9986c50bafa88d6 /lib/chef/resource.rb | |
parent | edba4de26a16e5445a803814c2703f10e6317d12 (diff) | |
download | chef-520c01e16658484a07ec3b71fddf2816c27fed44.tar.gz |
hide validation_message from serializationtm/better_resource_docs
Signed-off-by: Thom May <thom@chef.io>
Diffstat (limited to 'lib/chef/resource.rb')
-rw-r--r-- | lib/chef/resource.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource.rb b/lib/chef/resource.rb index 0351f6231e..77e735bbce 100644 --- a/lib/chef/resource.rb +++ b/lib/chef/resource.rb @@ -1174,8 +1174,8 @@ class Chef # Internal Resource Interface (for Chef) # - FORBIDDEN_IVARS = [:@run_context, :@not_if, :@only_if, :@enclosing_provider, :@description, :@introduced, :@examples] - HIDDEN_IVARS = [:@allowed_actions, :@resource_name, :@source_line, :@run_context, :@name, :@not_if, :@only_if, :@elapsed_time, :@enclosing_provider, :@description, :@introduced, :@examples] + FORBIDDEN_IVARS = [:@run_context, :@not_if, :@only_if, :@enclosing_provider, :@description, :@introduced, :@examples, :@validation_message] + HIDDEN_IVARS = [:@allowed_actions, :@resource_name, :@source_line, :@run_context, :@name, :@not_if, :@only_if, :@elapsed_time, :@enclosing_provider, :@description, :@introduced, :@examples, :@validation_message] include Chef::Mixin::ConvertToClassName extend Chef::Mixin::ConvertToClassName |