    # File lib/chef/knife.rb, line 468
        def create_object(object, pretty_name=nil, &block)
          output = edit_data(object)

          if Kernel.block_given?
            output = block.call(output)
          else
            output.save
          end

          pretty_name ||= output

          self.msg("Created #{pretty_name}")

          output(output) if config[:print_after]
        end