summaryrefslogtreecommitdiff
path: root/lib/chef/constants.rb
diff options
context:
space:
mode:
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