class Rake::PseudoStatus

  1. lib/rake/pseudo_status.rb
Parent: Rake

                

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

Methods

Public Reader

  1. exitstatus

Public Class

  1. new

Public Instance

  1. to_i
  2. >>
  3. stopped?
  4. exited?

Attributes

Public Class methods

new (code=0)
[show source]
   # File lib/rake/pseudo_status.rb, line 7
7:     def initialize(code=0)
8:       @exitstatus = code
9:     end

Public Instance methods

to_i ()
[show source]
    # File lib/rake/pseudo_status.rb, line 10
10:     def to_i
11:       @exitstatus << 8
12:     end
>> (n)
[show source]
    # File lib/rake/pseudo_status.rb, line 13
13:     def >>(n)
14:       to_i >> n
15:     end
stopped? ()
[show source]
    # File lib/rake/pseudo_status.rb, line 16
16:     def stopped?
17:       false
18:     end
exited? ()
[show source]
    # File lib/rake/pseudo_status.rb, line 19
19:     def exited?
20:       true
21:     end