class Chef::Taste::Display
Displays the status of the dependency cookbooks
Public Class Methods
print(dependencies, format)
click to toggle source
Prints the status of dependent cookbooks in specified format
@param dependencies [Array<Dependency>] list of cookbook dependency objects @param format [String] the format used for display
# File lib/chef/taste/display.rb, line 39 def print(dependencies, format) case format when 'table' TableDisplay.print(dependencies) when'json' JSONDisplay.print(dependencies) else raise UnsupportedDisplayFormatError, "Display format '#{format}' is not supported" end end