Class: Cottus::Connection

Inherits:
Object
  • Object
show all
Extended by:
Forward
Defined in:
lib/cottus/connection.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Forward

forward

Constructor Details

#initialize(connection) ⇒ Connection

Returns a new instance of Connection.



11
12
13
# File 'lib/cottus/connection.rb', line 11

def initialize(connection)
  @connection = connection
end

Instance Attribute Details

#hostObject (readonly)

Returns the value of attribute host.



9
10
11
# File 'lib/cottus/connection.rb', line 9

def host
  @host
end