class Yadriggy::C::BuildError
An error thrown during compilation.
Attributes
all_messages[RW]
Public Class Methods
new(msg)
click to toggle source
@param [Array<String>] msg an array of strings.
Calls superclass method
# File lib/yadriggy/c/c.rb, line 19 def initialize(msg) super(msg.empty? ? '' : msg.is_a?(String) ? msg : msg[0]) @all_messages = msg.is_a?(String) ? [msg] : msg end