summaryrefslogtreecommitdiff
path: root/lib/chef/formatters
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2015-10-07 12:06:30 +0100
committerThom May <thom@chef.io>2015-11-09 15:02:39 +0000
commit28487132e3d5469c07cbe790fb46edfd555d1c12 (patch)
tree3a7eb22bf5512d98111880ad63a2f4fcbd28e0b1 /lib/chef/formatters
parentc03d49c7cc3b5eb351abc9f6537a1a65692e93fc (diff)
downloadchef-28487132e3d5469c07cbe790fb46edfd555d1c12.tar.gz
Implement code review comments and fix failing tests
Diffstat (limited to 'lib/chef/formatters')
-rw-r--r--lib/chef/formatters/base.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/chef/formatters/base.rb b/lib/chef/formatters/base.rb
index d3756ef00c..4c393f7a48 100644
--- a/lib/chef/formatters/base.rb
+++ b/lib/chef/formatters/base.rb
@@ -215,6 +215,10 @@ class Chef
def deprecation(message, location=caller(2..2)[0])
Chef::Log.deprecation("#{message} at #{location}")
end
+
+ def is_formatter?
+ true
+ end
end
@@ -225,6 +229,9 @@ class Chef
cli_name(:null)
+ def is_formatter?
+ false
+ end
end
end