Sha256: d81f5efcd4e1becfc94b5b67e48b68beaf6938de523bc0c914ffc12b96094916
Contents?: true
Size: 481 Bytes
Versions: 2
Compression:
Stored size: 481 Bytes
Contents
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 defined?(Pry)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
byebug-3.5.1 | lib/byebug/commands/pry.rb |
byebug-3.5.0 | lib/byebug/commands/pry.rb |