jasmine-headless-webkit/lib/jasmine/headless/report_message/error.rb
2011-09-02 17:00:21 -04:00

21 lines
387 B
Ruby

module Jasmine::Headless::ReportMessage
class Error
class << self
def new_from_parts(parts)
new(*parts)
end
end
attr_reader :message, :file_info
def initialize(message, file_info)
@message, @file_info = message, file_info
end
def ==(other)
self.message == other.message && self.file_info == other.file_info
end
end
end