Sha256: 6e5fece731dd0790fb4db6f5a4f21238b6e4bf6784eeca321a5b305da3429a18

Contents?: true

Size: 422 Bytes

Versions: 215

Compression:

Stored size: 422 Bytes

Contents

module Rake

  ####################################################################
  # Exit status class for times the system just gives us a nil.
  class PseudoStatus
    attr_reader :exitstatus
    def initialize(code=0)
      @exitstatus = code
    end
    def to_i
      @exitstatus << 8
    end
    def >>(n)
      to_i >> n
    end
    def stopped?
      false
    end
    def exited?
      true
    end
  end

end

Version data entries

215 entries across 169 versions & 43 rubygems

Version Path
dirty_history-0.2.0 dirty_history/ruby/1.9.1/gems/rake-0.9.2/lib/rake/pseudo_status.rb
vanity-1.7.1 vendor/ruby/1.9.1/gems/rake-0.9.2/lib/rake/pseudo_status.rb
rake-0.9.3.beta.1 lib/rake/pseudo_status.rb
drake-0.9.2.0.3.1 lib/rake/pseudo_status.rb
search_biomodel-1.0.0 search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/pseudo_status.rb
rake-0.9.2 lib/rake/pseudo_status.rb
drake-0.9.1.0.3.0 lib/rake/pseudo_status.rb
rake-0.9.1 lib/rake/pseudo_status.rb
drake-0.9.0.0.3.0 lib/rake/pseudo_status.rb
rake-0.9.0 lib/rake/pseudo_status.rb
rake-0.9.0.beta.5 lib/rake/pseudo_status.rb
rake-0.9.0.beta.4 lib/rake/pseudo_status.rb
rake-0.9.0.beta.2 lib/rake/pseudo_status.rb
rake-0.9.0.beta.1 lib/rake/pseudo_status.rb
rake-0.9.0.beta.0 lib/rake/pseudo_status.rb