Sha256: 8728ff3779626aca5f33bd4d231a5d70ef969d06b3c0ef038af93d94d07b7787

Contents?: true

Size: 330 Bytes

Versions: 2

Compression:

Stored size: 330 Bytes

Contents

begin
  require "pry"
rescue LoadError
  class Binding
    def pry
      STDERR.puts "*** 'binding.pry' not supported: add the 'pry-byebug' gem to your Gemfile."
    end
  end
end

begin
  require "byebug"
rescue LoadError
  def byebug
    STDERR.puts "*** 'byebug' not supported: add the 'byebug' gem to your Gemfile."
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simple-httpd-0.4.3 lib/simple/httpd/debugging.rb
simple-httpd-0.4.2 lib/simple/httpd/debugging.rb