summaryrefslogtreecommitdiff
path: root/lib/chef/constants.rb
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2015-06-30 14:50:58 -0600
committerJohn Keiser <john@johnkeiser.com>2015-07-03 13:10:23 -0600
commit17039741776d3e597776cee859746d8efd586a6d (patch)
tree06c1a4423f22a2da3cb24954dd4c3bdfa3922a24 /lib/chef/constants.rb
parent901f122c5a906b8f64e8ed1919674ffe9d839bf0 (diff)
downloadchef-17039741776d3e597776cee859746d8efd586a6d.tar.gz
Add Property.create and Resource.property_type for type system overriding
Diffstat (limited to 'lib/chef/constants.rb')
-rw-r--r--lib/chef/constants.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/chef/constants.rb b/lib/chef/constants.rb
index 3112982c6c..d39ce4c68d 100644
--- a/lib/chef/constants.rb
+++ b/lib/chef/constants.rb
@@ -17,4 +17,11 @@
class Chef
NOT_PASSED = Object.new
+ def NOT_PASSED.to_s
+ "NOT_PASSED"
+ end
+ def NOT_PASSED.inspect
+ to_s
+ end
+ NOT_PASSED.freeze
end