class Packer::Message::Ui
Represents a message destined for a UI
Attributes
output[RW]
The string output to be displayed by the UI
ui_message_type[RW]
The type of UI message
Public Class Methods
from_fields(fields)
click to toggle source
@api private @param [Array<String>] fields
# File lib/packer/message/ui.rb, line 13 def self.from_fields(fields) msg = new msg.timestamp = fields[0] msg.target = fields[1] msg.type = fields[2] msg.data = fields[3..-1] msg.ui_message_type = fields[3] msg.output = fields[4] msg end