Class: StickyNotifications

Inherits:
Thor
  • Object
show all
Defined in:
lib/stickynotifications.rb

Instance Method Summary collapse

Instance Method Details

#new(sticky_text) ⇒ Object



7
8
9
# File 'lib/stickynotifications.rb', line 7

def new(sticky_text)
  %x{open "sticky-notifications://note?message=#{escape_string(sticky_text)}"}
end