Sha256: 73a71f79445ac8b8230ccc5f90e1c79d9afc586b3d774aa299b4f7c9ee189271
Contents?: true
Size: 540 Bytes
Versions: 2
Compression:
Stored size: 540 Bytes
Contents
require 'byebug/command' module Byebug # # Enter Pry from byebug's prompt # class PryCommand < Command def regexp /^\s* pry \s*$/x end def execute unless @state.interface.is_a?(LocalInterface) return errmsg(pr('base.errors.only_local')) end begin require 'pry' rescue LoadError errmsg(pr('pry.errors.not_installed')) end get_binding.pry end def description <<-EOD pry Starts a Pry session. EOD end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
sc_core-0.0.7 | test/dummy/vendor/bundle/ruby/2.2.0/gems/byebug-5.0.0/lib/byebug/commands/pry.rb |
byebug-5.0.0 | lib/byebug/commands/pry.rb |