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.5.1 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/rake-0.9.2/lib/rake/pseudo_status.rb
dirty_history-0.5.0 dirty_history/ruby/1.9.1/gems/rake-0.9.2/lib/rake/pseudo_status.rb
dirty_history-0.5.0 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/rake-0.9.2/lib/rake/pseudo_status.rb
challah-0.4.1 vendor/bundle/gems/rake-0.9.2.2/lib/rake/pseudo_status.rb
challah-0.4.0 vendor/bundle/gems/rake-0.9.2.2/lib/rake/pseudo_status.rb
challah-0.3.5 vendor/bundle/gems/rake-0.9.2.2/lib/rake/pseudo_status.rb
challah-0.3.4 vendor/bundle/gems/rake-0.9.2.2/lib/rake/pseudo_status.rb
challah-0.3.3 vendor/bundle/gems/rake-0.9.2.2/lib/rake/pseudo_status.rb
challah-0.3.2 vendor/bundle/gems/rake-0.9.2.2/lib/rake/pseudo_status.rb
challah-0.3.1 vendor/bundle/gems/rake-0.9.2.2/lib/rake/pseudo_status.rb
challah-0.3.0 vendor/bundle/gems/rake-0.9.2.2/lib/rake/pseudo_status.rb
challah-0.2.1 vendor/bundle/gems/rake-0.9.2.2/lib/rake/pseudo_status.rb
challah-0.2.0 vendor/bundle/gems/rake-0.9.2.2/lib/rake/pseudo_status.rb
chida_fib-0.1.0 shoulda/ruby/1.8/gems/rake-0.9.2.2/lib/rake/pseudo_status.rb
domo-0.0.5 vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/pseudo_status.rb
horseman-0.0.4 vendor/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/pseudo_status.rb
horseman-0.0.3 vendor/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/pseudo_status.rb
horseman-0.0.2 vendor/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/pseudo_status.rb
dirty_history-0.4.10 dirty_history/ruby/1.9.1/gems/rake-0.9.2/lib/rake/pseudo_status.rb
dirty_history-0.4.10 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/rake-0.9.2/lib/rake/pseudo_status.rb