Class: AsProject::FCSHProcess

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFCSHProcess

Returns a new instance of FCSHProcess.



196
197
198
199
200
# File 'lib/fcshs.rb', line 196

def initialize
  name = 'fcsh'
  mode = 'r+'
  @stdin, @stdout, @stderr = Open3.popen3(name, mode)
end

Instance Attribute Details

#stderrObject (readonly)

Returns the value of attribute stderr.



193
194
195
# File 'lib/fcshs.rb', line 193

def stderr
  @stderr
end

#stdinObject (readonly)

Returns the value of attribute stdin.



193
194
195
# File 'lib/fcshs.rb', line 193

def stdin
  @stdin
end

#stdoutObject (readonly)

Returns the value of attribute stdout.



193
194
195
# File 'lib/fcshs.rb', line 193

def stdout
  @stdout
end