module Remoto::Slides

Public Class Methods

browser() click to toggle source
# File lib/remoto.rb, line 46
def self.browser
  TCPSocket.new("localhost", OPTIONS[:brow])
end
show(page) click to toggle source
# File lib/remoto.rb, line 50
def self.show(page)
  browser.tap do |socket|
    socket.write("#{page}()")
    socket.close
  end
end