Class: Grit::Process::FakeStatus
- Inherits:
-
Struct
- Object
- Struct
- Grit::Process::FakeStatus
- Defined in:
- lib/grit/jruby.rb
Overview
JRuby always raises ECHILD on pids returned from its IO.popen4 method for some reason. Return a fake Process::Status object.
Instance Attribute Summary collapse
-
#exitstatus ⇒ Object
Returns the value of attribute exitstatus.
-
#fake? ⇒ Object
Returns the value of attribute fake?.
-
#pid ⇒ Object
Returns the value of attribute pid.
-
#success? ⇒ Object
Returns the value of attribute success?.
Instance Attribute Details
#exitstatus ⇒ Object
Returns the value of attribute exitstatus
37 38 39 |
# File 'lib/grit/jruby.rb', line 37 def exitstatus @exitstatus end |
#fake? ⇒ Object
Returns the value of attribute fake?
37 38 39 |
# File 'lib/grit/jruby.rb', line 37
def fake?
@fake?
end
|
#pid ⇒ Object
Returns the value of attribute pid
37 38 39 |
# File 'lib/grit/jruby.rb', line 37 def pid @pid end |
#success? ⇒ Object
Returns the value of attribute success?
37 38 39 |
# File 'lib/grit/jruby.rb', line 37
def success?
@success?
end
|