Class: Grit::Process::FakeStatus

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#exitstatusObject

Returns the value of attribute exitstatus

Returns:

  • (Object)

    the current value of exitstatus



37
38
39
# File 'lib/grit/jruby.rb', line 37

def exitstatus
  @exitstatus
end

#fake?Object

Returns the value of attribute fake?

Returns:

  • (Object)

    the current value of fake?



37
38
39
# File 'lib/grit/jruby.rb', line 37

def fake?
  @fake?
end

#pidObject

Returns the value of attribute pid

Returns:

  • (Object)

    the current value of pid



37
38
39
# File 'lib/grit/jruby.rb', line 37

def pid
  @pid
end

#success?Object

Returns the value of attribute success?

Returns:

  • (Object)

    the current value of success?



37
38
39
# File 'lib/grit/jruby.rb', line 37

def success?
  @success?
end