Module: Remoto::Slides
- Defined in:
- lib/remoto.rb
Class Method Summary collapse
Class Method Details
.browser ⇒ Object
46 47 48 |
# File 'lib/remoto.rb', line 46 def self.browser TCPSocket.new("localhost", OPTIONS[:brow]) end |
.show(page) ⇒ Object
50 51 52 53 54 55 |
# File 'lib/remoto.rb', line 50 def self.show(page) browser.tap do |socket| socket.write("#{page}()") socket.close end end |