class Rake::PseudoStatus

Exit status class for times the system just gives us a nil.

Attributes

exitstatus[R]

Public Class Methods

new(code=0) click to toggle source
# File lib/rake/pseudo_status.rb, line 8
def initialize(code=0)
  @exitstatus = code
end

Public Instance Methods

>>(n) click to toggle source
# File lib/rake/pseudo_status.rb, line 16
def >>(n)
  to_i >> n
end
exited?() click to toggle source
# File lib/rake/pseudo_status.rb, line 24
def exited?
  true
end
stopped?() click to toggle source
# File lib/rake/pseudo_status.rb, line 20
def stopped?
  false
end
to_i() click to toggle source
# File lib/rake/pseudo_status.rb, line 12
def to_i
  @exitstatus << 8
end