Sha256: baff167443f73ed85ee3a3b4174502dec1bf7deb6dcf0050b3546f7b3d377512

Contents?: true

Size: 288 Bytes

Versions: 3

Compression:

Stored size: 288 Bytes

Contents

class SimpleConnection
  attr_reader :config

  def initialize
    @config = {
      :host => "localhost",
      :port => 50000,
      :username => "monetdb",
      :password => "monetdb"
    }
  end

  def connected?
    !@socket.nil?
  end

private

  def socket
    @socket
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
monetdb-0.2.3 test/test_helper/simple_connection.rb
monetdb-0.2.2 test/test_helper/simple_connection.rb
monetdb-0.2.1 test/test_helper/simple_connection.rb