Class: Harbr::Host
Instance Attribute Summary collapse
-
#container_uid ⇒ Object
Returns the value of attribute container_uid.
-
#header ⇒ Object
Returns the value of attribute header.
-
#port ⇒ Object
Returns the value of attribute port.
Instance Method Summary collapse
Instance Attribute Details
#container_uid ⇒ Object
Returns the value of attribute container_uid.
4 5 6 |
# File 'lib/harbr/host.rb', line 4 def container_uid @container_uid end |
#header ⇒ Object
Returns the value of attribute header.
4 5 6 |
# File 'lib/harbr/host.rb', line 4 def header @header end |
#port ⇒ Object
Returns the value of attribute port.
4 5 6 |
# File 'lib/harbr/host.rb', line 4 def port @port end |
Instance Method Details
#to_s ⇒ Object
6 7 8 |
# File 'lib/harbr/host.rb', line 6 def to_s "#{port} -> #{header}" end |