Class: Twitterpunch::Remote
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- Twitterpunch::Remote
- Defined in:
- lib/twitterpunch/remote.rb
Instance Method Summary collapse
-
#initialize(app = nil) ⇒ Remote
constructor
A new instance of Remote.
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 |