Class: Cottus::Connection
- Inherits:
-
Object
- Object
- Cottus::Connection
- Extended by:
- Forward
- Defined in:
- lib/cottus/connection.rb
Instance Attribute Summary collapse
-
#host ⇒ Object
readonly
Returns the value of attribute host.
Instance Method Summary collapse
-
#initialize(connection) ⇒ Connection
constructor
A new instance of Connection.
Methods included from 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
#host ⇒ Object (readonly)
Returns the value of attribute host.
9 10 11 |
# File 'lib/cottus/connection.rb', line 9 def host @host end |