Class: AvahiService
- Inherits:
-
Object
- Object
- AvahiService
- Defined in:
- lib/findme.rb
Instance Attribute Summary collapse
-
#eth ⇒ Object
Returns the value of attribute eth.
-
#hostname ⇒ Object
Returns the value of attribute hostname.
-
#hosttxt ⇒ Object
Returns the value of attribute hosttxt.
-
#ip ⇒ Object
Returns the value of attribute ip.
-
#ipv4 ⇒ Object
Returns the value of attribute ipv4.
-
#port ⇒ Object
Returns the value of attribute port.
-
#service ⇒ Object
Returns the value of attribute service.
-
#txt ⇒ Object
Returns the value of attribute txt.
Instance Method Summary collapse
Instance Attribute Details
#eth ⇒ Object
Returns the value of attribute eth.
200 201 202 |
# File 'lib/findme.rb', line 200 def eth @eth end |
#hostname ⇒ Object
Returns the value of attribute hostname.
200 201 202 |
# File 'lib/findme.rb', line 200 def hostname @hostname end |
#hosttxt ⇒ Object
Returns the value of attribute hosttxt.
200 201 202 |
# File 'lib/findme.rb', line 200 def hosttxt @hosttxt end |
#ip ⇒ Object
Returns the value of attribute ip.
200 201 202 |
# File 'lib/findme.rb', line 200 def ip @ip end |
#ipv4 ⇒ Object
Returns the value of attribute ipv4.
200 201 202 |
# File 'lib/findme.rb', line 200 def ipv4 @ipv4 end |
#port ⇒ Object
Returns the value of attribute port.
200 201 202 |
# File 'lib/findme.rb', line 200 def port @port end |
#service ⇒ Object
Returns the value of attribute service.
200 201 202 |
# File 'lib/findme.rb', line 200 def service @service end |
#txt ⇒ Object
Returns the value of attribute txt.
200 201 202 |
# File 'lib/findme.rb', line 200 def txt @txt end |
Instance Method Details
#inspect ⇒ Object
206 207 208 |
# File 'lib/findme.rb', line 206 def inspect "#<eth: #{eth}, ipv4: #{ipv4}, ip: #{ip}, hosttxt: #{hosttxt}, hostname: #{hostname}, port: #{port}, txt: #{txt}, service: #{service}>" end |
#ip_and_port ⇒ Object
202 203 204 |
# File 'lib/findme.rb', line 202 def ip_and_port [ip, port] end |