Class: Notiffany::Notifier::TerminalTitle
- Defined in:
- lib/notiffany/notifier/terminal_title.rb
Overview
Shows system notifications in the terminal title bar.
Constant Summary collapse
- DEFAULTS =
{}
Constants inherited from Base
Base::ERROR_ADD_GEM_AND_RUN_BUNDLE, Base::HOSTS
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#turn_off ⇒ Object
Clears the terminal title.
Methods inherited from Base
#_image_path, #initialize, #name, #notify, #title
Constructor Details
This class inherits a constructor from Notiffany::Notifier::Base
Instance Method Details
#turn_off ⇒ Object
Clears the terminal title
11 12 13 |
# File 'lib/notiffany/notifier/terminal_title.rb', line 11 def turn_off STDOUT.puts "\e]2;\a" end |