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.4.9 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.4.9 dirty_history/ruby/1.9.1/gems/rake-0.9.2/lib/rake/pseudo_status.rb
nutshell-crm-0.0.6.alpha vendor/bundle/gems/rake-0.9.2.2/lib/rake/pseudo_status.rb
dirty_history-0.4.8 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.4.8 dirty_history/ruby/1.9.1/gems/rake-0.9.2/lib/rake/pseudo_status.rb
dirty_history-0.4.7 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.4.7 dirty_history/ruby/1.9.1/gems/rake-0.9.2/lib/rake/pseudo_status.rb
dirty_history-0.4.6 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.4.6 dirty_history/ruby/1.9.1/gems/rake-0.9.2/lib/rake/pseudo_status.rb
dirty_history-0.4.5 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.4.5 dirty_history/ruby/1.9.1/gems/rake-0.9.2/lib/rake/pseudo_status.rb
dirty_history-0.4.4 dirty_history/ruby/1.9.1/gems/rake-0.9.2/lib/rake/pseudo_status.rb
dirty_history-0.4.4 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.4.3 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.4.3 dirty_history/ruby/1.9.1/gems/rake-0.9.2/lib/rake/pseudo_status.rb
dirty_history-0.4.2 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.4.2 dirty_history/ruby/1.9.1/gems/rake-0.9.2/lib/rake/pseudo_status.rb
rake-0.9.2.2 lib/rake/pseudo_status.rb
dirty_history-0.3.0 dirty_history/ruby/1.9.1/gems/rake-0.9.2/lib/rake/pseudo_status.rb
dirty_history-0.3.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