Class: Twterm::Notification::Error
- Inherits:
-
Object
- Object
- Twterm::Notification::Error
- Includes:
- Base
- Defined in:
- lib/twterm/notification/error.rb
Instance Attribute Summary
Attributes included from Base
Instance Method Summary collapse
- #bg_color ⇒ Object
- #fg_color ⇒ Object
-
#initialize(message) ⇒ Error
constructor
A new instance of Error.
Methods included from Base
Constructor Details
#initialize(message) ⇒ Error
Returns a new instance of Error.
6 7 8 |
# File 'lib/twterm/notification/error.rb', line 6 def initialize() super end |
Instance Method Details
#bg_color ⇒ Object
14 15 16 |
# File 'lib/twterm/notification/error.rb', line 14 def bg_color :red end |
#fg_color ⇒ Object
10 11 12 |
# File 'lib/twterm/notification/error.rb', line 10 def fg_color :white end |