jasmine-headless-webkit/lib/jasmine/headless/report_message/console.rb

19 lines
284 B
Ruby
Raw Permalink Normal View History

module Jasmine::Headless::ReportMessage
class Console
2011-12-29 23:37:23 +00:00
def self.new_from_parts(parts)
new(parts.first)
end
attr_reader :message
def initialize(message)
@message = message
end
def ==(other)
self.message == other.message
end
end
end