Class: SubSpawn::POSIX::OpenFD

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

Instance Attribute Summary collapse

Instance Attribute Details

#fdObject

Returns the value of attribute fd

Returns:

  • (Object)

    the current value of fd



11
12
13
# File 'lib/subspawn/posix.rb', line 11

def fd
  @fd
end

#flagsObject

Returns the value of attribute flags

Returns:

  • (Object)

    the current value of flags



11
12
13
# File 'lib/subspawn/posix.rb', line 11

def flags
  @flags
end

#modeObject

Returns the value of attribute mode

Returns:

  • (Object)

    the current value of mode



11
12
13
# File 'lib/subspawn/posix.rb', line 11

def mode
  @mode
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



11
12
13
# File 'lib/subspawn/posix.rb', line 11

def path
  @path
end