Sha256: 464149e64485127009b9627c81b9255f31042e4145a56d821b9994247caeace6

Contents?: true

Size: 405 Bytes

Versions: 7315

Compression:

Stored size: 405 Bytes

Contents

# frozen_string_literal: true
module Rake

  ##
  # Exit status class for times the system just gives us a nil.
  class PseudoStatus # :nodoc: all
    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

7,315 entries across 7,202 versions & 103 rubygems

Version Path
paynow_sdk-1.0.5 vendor/cache/ruby/2.7.0/gems/paynow_sdk-1.0.0/vendor/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/pseudo_status.rb
paynow_sdk-1.0.5 vendor/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/pseudo_status.rb
paynow_sdk-1.0.4 vendor/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/pseudo_status.rb
paynow_sdk-1.0.4 vendor/cache/ruby/2.7.0/gems/paynow_sdk-1.0.0/vendor/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/pseudo_status.rb
paynow_sdk-1.0.3 vendor/cache/ruby/2.7.0/gems/paynow_sdk-1.0.0/vendor/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/pseudo_status.rb
paynow_sdk-1.0.3 vendor/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/pseudo_status.rb
paynow_sdk-1.0.2 vendor/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/pseudo_status.rb
paynow_sdk-1.0.2 vendor/cache/ruby/2.7.0/gems/paynow_sdk-1.0.0/vendor/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/pseudo_status.rb
paynow_sdk-1.0.1 vendor/cache/ruby/2.7.0/gems/paynow_sdk-1.0.0/vendor/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/pseudo_status.rb
paynow_sdk-1.0.1 vendor/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/pseudo_status.rb
tdiary-5.1.3 vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/pseudo_status.rb
tdiary-5.1.3 vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/pseudo_status.rb
metanorma-cli-1.3.4 gems/ruby/2.6.0/gems/rake-12.3.3/lib/rake/pseudo_status.rb
metanorma-cli-1.3.3.1 gems/ruby/2.6.0/gems/rake-12.3.3/lib/rake/pseudo_status.rb
paynow_sdk-1.0.0 vendor/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/pseudo_status.rb
paynow_sdk-1.0.0 vendor/cache/ruby/2.7.0/gems/paynow_sdk-1.0.0/vendor/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/pseudo_status.rb
paynow_sdk-0.2.0 vendor/cache/ruby/2.7.0/gems/paynow_sdk-0.1.9/vendor/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/pseudo_status.rb
paynow_sdk-0.2.0 vendor/cache/ruby/2.7.0/gems/paynow_sdk-0.1.9/vendor/cache/ruby/2.7.0/gems/paynow_sdk-0.1.8/vendor/cache/ruby/2.7.0/gems/paynow_sdk-0.1.8/vendor/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/pseudo_status.rb
paynow_sdk-0.2.0 vendor/cache/ruby/2.7.0/gems/paynow_sdk-0.1.8/vendor/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/pseudo_status.rb
paynow_sdk-0.2.0 vendor/cache/ruby/2.7.0/gems/paynow_sdk-0.1.8/vendor/cache/ruby/2.7.0/gems/paynow_sdk-0.1.8/vendor/cache/ruby/2.7.0/gems/rake-12.3.3/lib/rake/pseudo_status.rb