Class: AcpcDealer::ConnectionInformation
- Inherits:
-
Struct
- Object
- Struct
- AcpcDealer::ConnectionInformation
- Defined in:
- lib/acpc_dealer.rb
Instance Attribute Summary collapse
-
#host_name ⇒ Object
Returns the value of attribute host_name.
-
#port_number ⇒ Object
Returns the value of attribute port_number.
Instance Method Summary collapse
-
#initialize(port_number, host_name = 'localhost') ⇒ ConnectionInformation
constructor
A new instance of ConnectionInformation.
Constructor Details
#initialize(port_number, host_name = 'localhost') ⇒ ConnectionInformation
Returns a new instance of ConnectionInformation.
44 45 46 |
# File 'lib/acpc_dealer.rb', line 44 def initialize(port_number, host_name = 'localhost') super port_number, host_name end |
Instance Attribute Details
#host_name ⇒ Object
Returns the value of attribute host_name
43 44 45 |
# File 'lib/acpc_dealer.rb', line 43 def host_name @host_name end |
#port_number ⇒ Object
Returns the value of attribute port_number
43 44 45 |
# File 'lib/acpc_dealer.rb', line 43 def port_number @port_number end |