Class: Twitterpunch::Remote

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/twitterpunch/remote.rb

Instance Method Summary collapse

Constructor Details

#initialize(app = nil) ⇒ Remote

Returns a new instance of Remote.



18
19
20
21
# File 'lib/twitterpunch/remote.rb', line 18

def initialize(app=nil)
  super(app)
  system('osascript', '-e' "tell application \"#{settings.remote[:apptitle]}\" to activate")
end