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.
116 117 118 119 |
# File 'lib/farcall/transport.rb', line 116 def initialize @a = Connection.new @b = Connection.new @a end |
Instance Attribute Details
#a ⇒ Object (readonly)
Returns the value of attribute a.
114 115 116 |
# File 'lib/farcall/transport.rb', line 114 def a @a end |