Class: Server

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/text_tunnel/server.rb

Instance Method Summary collapse

Instance Method Details

#spawn_editor(local_path) ⇒ Object



42
43
44
# File 'lib/text_tunnel/server.rb', line 42

def spawn_editor(local_path)
  settings.editor_spawner.call(local_path)
end

#watched_filesObject



38
39
40
# File 'lib/text_tunnel/server.rb', line 38

def watched_files
  settings.watched_files
end