Class: Farcall::LocalConnection
- Inherits:
-
Object
- Object
- Farcall::LocalConnection
- Defined in:
- lib/farcall/transport.rb
Overview
Test connection that provides 2 interconnected transports TestConnection#a and TestConnection#b that could be used to connect Endpoints
Defined Under Namespace
Classes: Connection
Instance Attribute Summary collapse
-
#a ⇒ Object
readonly
Returns the value of attribute a.
Instance Method Summary collapse
-
#initialize ⇒ LocalConnection
constructor
A new instance of LocalConnection.
Constructor Details
#initialize ⇒ LocalConnection
Returns a new instance of LocalConnection.
160 161 162 163 |
# File 'lib/farcall/transport.rb', line 160 def initialize @a = Connection.new @b = Connection.new @a end |
Instance Attribute Details
#a ⇒ Object (readonly)
Returns the value of attribute a.
158 159 160 |
# File 'lib/farcall/transport.rb', line 158 def a @a end |