Sha256: 7415b39022a004bb9b55d34847fb2c3d697862965d87608de1b4c7e108863073

Contents?: true

Size: 217 Bytes

Versions: 2

Compression:

Stored size: 217 Bytes

Contents

module Camtasy
  class Client
    def initialize(uri, stdout = $stdout)
      @server = DRbObject.new_with_uri(uri)
      @stdout = stdout
    end

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
camtasy-0.0.3 lib/camtasy/client.rb
camtasy-0.0.2 lib/camtasy/client.rb