Class: Rake::PseudoStatus

### Home Classes Methods

### In Files

- lib/rake/pseudo_status.rb

### Parent

Object

### Methods

- ::new
- #>>
- #exited?
- #stopped?
- #to_i

### Files

- MIT-LICENSE
- README.rdoc
- TODO
- command_line_usage.rdoc
- glossary.rdoc
- proto_rake.rdoc
- rakefile.rdoc
- rational.rdoc
- rake-0.4.14.rdoc
- rake-0.4.15.rdoc
- rake-0.5.0.rdoc
- rake-0.5.3.rdoc
- rake-0.5.4.rdoc
- rake-0.6.0.rdoc
- rake-0.7.0.rdoc
- rake-0.7.1.rdoc
- rake-0.7.2.rdoc
- rake-0.7.3.rdoc
- rake-0.8.0.rdoc
- rake-0.8.4.rdoc
- rake-0.8.5.rdoc
- rake-0.8.6.rdoc
- rake-0.8.7.rdoc

### Class/Module Index

Quicksearch

- Rake
- Rake::AltSystem
- Rake::Application
- Rake::Backtrace
- Rake::Cloneable
- Rake::CompositePublisher
- Rake::DSL
- Rake::DefaultLoader
- Rake::EarlyTime
- Rake::FileCreationTask
- Rake::FileList
- Rake::FileTask
- Rake::FileUtilsExt
- Rake::FtpFile
- Rake::FtpUploader
- Rake::InvocationChain
- Rake::InvocationChain::EmptyInvocationChain
- Rake::InvocationExceptionMixin
- Rake::MakefileLoader
- Rake::MultiTask
- Rake::NameSpace
- Rake::PackageTask
- Rake::PseudoStatus
- Rake::RubyForgePublisher
- Rake::RuleRecursionOverflowError
- Rake::SshDirPublisher
- Rake::SshFilePublisher
- Rake::SshFreshDirPublisher
- Rake::Task
- Rake::TaskArgumentError
- Rake::TaskArguments
- Rake::TaskLib
- Rake::TaskManager
- Rake::TestTask
- Rake::TraceOutput
- Rake::Win32
- Rake::Win32::Win32HomeError
- CompositePublisher
- FileUtils
- Module
- Object
- SshDirPublisher
- SshFilePublisher
- SshFreshDirPublisher
- String
- Time

No matching classes.

# 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 7
    def initialize(code=0)
      @exitstatus = code
    end

### Public Instance Methods

>>(n) click to toggle source

    # File lib/rake/pseudo_status.rb, line 13
    def >>(n)
      to_i >> n
    end

exited?() click to toggle source

    # File lib/rake/pseudo_status.rb, line 19
    def exited?
      true
    end

stopped?() click to toggle source

    # File lib/rake/pseudo_status.rb, line 16
    def stopped?
      false
    end

to_i() click to toggle source

    # File lib/rake/pseudo_status.rb, line 10
    def to_i
      @exitstatus << 8
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.