Class: Twterm::Notification::Error

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/twterm/notification/error.rb

Instance Attribute Summary

Attributes included from Base

#time

Instance Method Summary collapse

Methods included from Base

#show_with_width

Constructor Details

#initialize(message) ⇒ Error

Returns a new instance of Error.



6
7
8
# File 'lib/twterm/notification/error.rb', line 6

def initialize(message)
  super
end

Instance Method Details

#bg_colorObject



14
15
16
# File 'lib/twterm/notification/error.rb', line 14

def bg_color
  :red
end

#fg_colorObject



10
11
12
# File 'lib/twterm/notification/error.rb', line 10

def fg_color
  :white
end