Method: DNSSD::Reply#interface_name

Defined in:
lib/dnssd/reply.rb

#interface_nameObject

Expands the name of the interface including constants



51
52
53
54
55
56
57
58
59
# File 'lib/dnssd/reply.rb', line 51

def interface_name
  case @interface
  when nil                       then 'nil'
  when DNSSD::InterfaceAny       then 'any'
  when DNSSD::InterfaceLocalOnly then 'local'
  when DNSSD::InterfaceUnicast   then 'unicast'
  else @interface
  end
end