Method: Chef::Knife::UI#output
- Defined in:
- lib/chef/knife/core/ui.rb
#output(data) ⇒ Object
Formats data
using the configured presenter and outputs the result via msg
. Formatting can be customized by configuring a different presenter. See use_presenter
187 188 189 |
# File 'lib/chef/knife/core/ui.rb', line 187 def output(data) msg @presenter.format(data) end |