Class: MDNS::Record

Inherits:
Struct
  • Object
show all
Defined in:
lib/mdns.rb

Instance Attribute Summary collapse

Instance Attribute Details

#hostObject

Returns the value of attribute host

Returns:

  • (Object)

    the current value of host



9
10
11
# File 'lib/mdns.rb', line 9

def host
  @host
end

#ipObject

Returns the value of attribute ip

Returns:

  • (Object)

    the current value of ip



9
10
11
# File 'lib/mdns.rb', line 9

def ip
  @ip
end

#ttlObject

Returns the value of attribute ttl

Returns:

  • (Object)

    the current value of ttl



9
10
11
# File 'lib/mdns.rb', line 9

def ttl
  @ttl
end