Sha256: ef5884586696832ad189ac84885b928220c7a88817346a375ab04f7e5c861a4d

Contents?: true

Size: 249 Bytes

Versions: 1

Compression:

Stored size: 249 Bytes

Contents

module Camtasy
  class Client
    def initialize(server = DRbObject.new_with_uri('druby://localhost:8787'), stdout = $stdout)
      @server = server
      @stdout = stdout
    end

    def run
      @stdout.print server.take_photo
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
camtasy-0.0.1 lib/camtasy/client.rb