summaryrefslogtreecommitdiff
path: root/lib/chef/property.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/property.rb')
-rw-r--r--lib/chef/property.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/property.rb b/lib/chef/property.rb
index 6aa76a5236..8618cd98db 100644
--- a/lib/chef/property.rb
+++ b/lib/chef/property.rb
@@ -321,9 +321,9 @@ class Chef
# @return [Hash<Symbol,Object>]
#
def validation_options
- @validation_options ||= options.reject do |k, v|
+ @validation_options ||= options.reject { |k, v|
%i{declared_in name instance_variable_name desired_state identity default name_property coerce required nillable sensitive description introduced deprecated default_description skip_docs}.include?(k)
- end
+ }
end
#