Class: AsProject::FCSHProcess
- Inherits:
-
Object
- Object
- AsProject::FCSHProcess
- Defined in:
- lib/fcshs.rb
Instance Attribute Summary collapse
-
#stderr ⇒ Object
readonly
Returns the value of attribute stderr.
-
#stdin ⇒ Object
readonly
Returns the value of attribute stdin.
-
#stdout ⇒ Object
readonly
Returns the value of attribute stdout.
Instance Method Summary collapse
-
#initialize ⇒ FCSHProcess
constructor
A new instance of FCSHProcess.
Constructor Details
#initialize ⇒ FCSHProcess
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
#stderr ⇒ Object (readonly)
Returns the value of attribute stderr.
193 194 195 |
# File 'lib/fcshs.rb', line 193 def stderr @stderr end |
#stdin ⇒ Object (readonly)
Returns the value of attribute stdin.
193 194 195 |
# File 'lib/fcshs.rb', line 193 def stdin @stdin end |
#stdout ⇒ Object (readonly)
Returns the value of attribute stdout.
193 194 195 |
# File 'lib/fcshs.rb', line 193 def stdout @stdout end |