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
vagrant-actionio-0.0.9 vendor/bundle/gems/rake-10.0.3/lib/rake/pseudo_status.rb
torquebox-console-0.2.4 vendor/bundle/ruby/1.8/gems/rake-10.0.3/lib/rake/pseudo_status.rb
torquebox-console-0.2.4 vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/pseudo_status.rb
torquebox-console-0.2.3 vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/pseudo_status.rb
active_mailer-0.0.5 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/rake-10.0.3/lib/rake/pseudo_status.rb
active_mailer-0.0.4 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/rake-10.0.3/lib/rake/pseudo_status.rb
active_mailer-0.0.3 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/rake-10.0.3/lib/rake/pseudo_status.rb
remq-0.0.4 vendor/bundle/gems/rake-10.0.3/lib/rake/pseudo_status.rb
remq-0.0.3 vendor/bundle/gems/rake-10.0.3/lib/rake/pseudo_status.rb
librarian-puppet-0.9.8 vendor/gems/ruby/1.9.1/gems/rake-10.0.3/lib/rake/pseudo_status.rb
graphael-on-rails-0.5.1 vendor/bundle/gems/rake-10.0.3/lib/rake/pseudo_status.rb
graphael-on-rails-0.0.1 vendor/bundle/gems/rake-10.0.3/lib/rake/pseudo_status.rb
challah-0.9.1.beta.3 vendor/bundle/gems/rake-10.0.3/lib/rake/pseudo_status.rb
devise_sociable-0.1.0 vendor/bundle/gems/rake-10.0.3/lib/rake/pseudo_status.rb
simple-client-0.0.3 vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/pseudo_status.rb
backbone-queryparams-rails-0.0.1 vendor/bundle/gems/rake-10.0.3/lib/rake/pseudo_status.rb
railscast-assets-0.0.2 vendor/bundle/gems/backbone-forms-on-rails-0.10.0/vendor/bundle/gems/rake-10.0.3/lib/rake/pseudo_status.rb
railscast-assets-0.0.2 vendor/bundle/gems/rake-10.0.3/lib/rake/pseudo_status.rb
backbone-forms-on-rails-0.10.0 vendor/bundle/gems/backbone-forms-on-rails-0.10.0/vendor/bundle/gems/rake-10.0.3/lib/rake/pseudo_status.rb
backbone-forms-on-rails-0.10.0 vendor/bundle/gems/rake-10.0.3/lib/rake/pseudo_status.rb