Sha256: 7d36b6e74c68671d1d7782643e5fa6cdcdc3bb041ca3be016e527626f30361c4

Contents?: true

Size: 352 Bytes

Versions: 6842

Compression:

Stored size: 352 Bytes

Contents

# frozen_string_literal: true

class Pry
  # @api private
  # @since v0.13.0
  module SystemCommandHandler
    class << self
      def default(output, command, _pry_instance)
        return if Kernel.system(command)

        output.puts(
          "Error: there was a problem executing system command: #{command}"
        )
      end
    end
  end
end

Version data entries

6,842 entries across 6,837 versions & 33 rubygems

Version Path
cybrid_api_organization_ruby-0.123.135 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/system_command_handler.rb
cybrid_api_bank_ruby-0.123.135 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/system_command_handler.rb
cybrid_api_id_ruby-0.123.135 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/system_command_handler.rb
cybrid_api_bank_ruby-0.123.134 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/system_command_handler.rb
cybrid_api_id_ruby-0.123.134 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/system_command_handler.rb
cybrid_api_organization_ruby-0.123.134 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/system_command_handler.rb
cybrid_api_bank_ruby-0.123.132 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/system_command_handler.rb
cybrid_api_id_ruby-0.123.132 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/system_command_handler.rb
cybrid_api_organization_ruby-0.123.132 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/system_command_handler.rb
cybrid_api_bank_ruby-0.123.131 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/system_command_handler.rb
cybrid_api_id_ruby-0.123.131 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/system_command_handler.rb
cybrid_api_organization_ruby-0.123.131 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/system_command_handler.rb
cybrid_api_bank_ruby-0.123.129 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/system_command_handler.rb
cybrid_api_id_ruby-0.123.129 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/system_command_handler.rb
cybrid_api_organization_ruby-0.123.129 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/system_command_handler.rb
cybrid_api_bank_ruby-0.123.127 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/system_command_handler.rb
cybrid_api_id_ruby-0.123.127 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/system_command_handler.rb
cybrid_api_organization_ruby-0.123.127 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/system_command_handler.rb
cybrid_api_bank_ruby-0.123.126 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/system_command_handler.rb
cybrid_api_id_ruby-0.123.126 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/system_command_handler.rb