Sha256: 1a26a439bc3fd7eeee6d32a9aa7ac122faf818037481fab8a421680e34a93349
Contents?: true
Size: 554 Bytes
Versions: 4
Compression:
Stored size: 554 Bytes
Contents
begin require 'pry' has_pry = true rescue LoadError has_pry = false end 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('Command is available only in local mode.') end get_binding.pry end class << self def names %w(pry) end def description %(pry Starts a Pry session.) end end end end if has_pry
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
byebug-3.4.2 | lib/byebug/commands/pry.rb |
byebug-3.4.1 | lib/byebug/commands/pry.rb |
byebug-3.4.0 | lib/byebug/commands/pry.rb |
byebug-3.3.0 | lib/byebug/commands/pry.rb |