Class: TingYun::Support::Collector
- Inherits:
-
Struct
- Object
- Struct
- TingYun::Support::Collector
- Defined in:
- lib/ting_yun/support/collector.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#port ⇒ Object
Returns the value of attribute port.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
7 8 9 |
# File 'lib/ting_yun/support/collector.rb', line 7 def name @name end |
#port ⇒ Object
Returns the value of attribute port
7 8 9 |
# File 'lib/ting_yun/support/collector.rb', line 7 def port @port end |
Instance Method Details
#to_s ⇒ Object
8 |
# File 'lib/ting_yun/support/collector.rb', line 8 def to_s; "#{name}:#{port}"; end |