Class: Ruptr::Runner::Forking::Worker

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#pending_tcsObject

Returns the value of attribute pending_tcs

Returns:

  • (Object)

    the current value of pending_tcs



307
308
309
# File 'lib/ruptr/runner.rb', line 307

def pending_tcs
  @pending_tcs
end

#pidObject

Returns the value of attribute pid

Returns:

  • (Object)

    the current value of pid



307
308
309
# File 'lib/ruptr/runner.rb', line 307

def pid
  @pid
end

#read_ioObject

Returns the value of attribute read_io

Returns:

  • (Object)

    the current value of read_io



307
308
309
# File 'lib/ruptr/runner.rb', line 307

def read_io
  @read_io
end

#staleObject

Returns the value of attribute stale

Returns:

  • (Object)

    the current value of stale



307
308
309
# File 'lib/ruptr/runner.rb', line 307

def stale
  @stale
end

#write_ioObject

Returns the value of attribute write_io

Returns:

  • (Object)

    the current value of write_io



307
308
309
# File 'lib/ruptr/runner.rb', line 307

def write_io
  @write_io
end

Instance Method Details

#closeObject



308
309
310
311
# File 'lib/ruptr/runner.rb', line 308

def close
  read_io.close
  write_io.close
end