Class: StickyNotifications
- Inherits:
-
Thor
- Object
- Thor
- StickyNotifications
- Defined in:
- lib/stickynotifications.rb
Overview
All logic for StickyNotifications
Instance Method Summary collapse
-
#new(sticky_text) ⇒ Object
Creates a new Sticky Notification.
Instance Method Details
#new(sticky_text) ⇒ Object
Creates a new Sticky Notification
12 13 14 |
# File 'lib/stickynotifications.rb', line 12 def new(sticky_text) %x{open "sticky-notifications://note?message=#{escape_string(sticky_text)}"} end |