Class: OneApm::Support::Server
- Inherits:
-
Struct
- Object
- Struct
- OneApm::Support::Server
- Defined in:
- lib/one_apm/support/server.rb
Instance Attribute Summary collapse
-
#ip ⇒ Object
Returns the value of attribute ip.
-
#name ⇒ Object
Returns the value of attribute name.
-
#port ⇒ Object
Returns the value of attribute port.
Instance Method Summary collapse
Instance Attribute Details
#ip ⇒ Object
Returns the value of attribute ip
4 5 6 |
# File 'lib/one_apm/support/server.rb', line 4 def ip @ip end |
#name ⇒ Object
Returns the value of attribute name
4 5 6 |
# File 'lib/one_apm/support/server.rb', line 4 def name @name end |
#port ⇒ Object
Returns the value of attribute port
4 5 6 |
# File 'lib/one_apm/support/server.rb', line 4 def port @port end |
Instance Method Details
#to_s ⇒ Object
5 |
# File 'lib/one_apm/support/server.rb', line 5 def to_s; "#{name}:#{port}"; end |