Class: Nonnative::TCPProbe::Target

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

Instance Attribute Summary collapse

Instance Attribute Details

#host ⇒ Object

Returns the value of attribute host

Returns:

  • (Object) —

    the current value of host



6
7
8
# File 'lib/nonnative/tcp_probe.rb', line 6

def host
  @host
end

#timeout ⇒ Object

Returns the value of attribute timeout

Returns:

  • (Object) —

    the current value of timeout



6
7
8
# File 'lib/nonnative/tcp_probe.rb', line 6

def timeout
  @timeout
end