Class: Zeusd::Log::Line::Update

Inherits:
Base
  • Object
show all
Defined in:
lib/zeusd/log/line/update.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from Base

#ansi_color, #ansi_color_of, #connecting?, #crashed?, #done?, #id, #loading?, #ready?, #running?, #status?, #status_substring, #waiting?

Instance Attribute Details

#timeObject (readonly)

Returns the value of attribute time.



8
9
10
# File 'lib/zeusd/log/line/update.rb', line 8

def time
  @time
end

Class Method Details

.matches_line?(line) ⇒ Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/zeusd/log/line/update.rb', line 10

def self.matches_line?(line)
  !!line[/\s=====$/]
end