Method: DNSSD::Reply#protocol
- Defined in:
- lib/dnssd/reply.rb
#protocol ⇒ Object
Protocol of this service
64 65 66 67 68 69 |
# File 'lib/dnssd/reply.rb', line 64 def protocol raise TypeError, 'no type on this reply' unless instance_variable_defined? :@type @type.split('.').last.sub '_', '' end |