class Byebug::IrbCommand
Enter IRB from byebug's prompt
Public Class Methods
description()
click to toggle source
# File lib/byebug/commands/irb.rb, line 15 def self.description <<-EOD irb #{short_description} EOD end
regexp()
click to toggle source
# File lib/byebug/commands/irb.rb, line 11 def self.regexp /^\s* irb \s*$/x end
short_description()
click to toggle source
# File lib/byebug/commands/irb.rb, line 23 def self.short_description 'Starts an IRB session' end
Public Instance Methods
execute()
click to toggle source
# File lib/byebug/commands/irb.rb, line 27 def execute unless processor.interface.is_a?(LocalInterface) return errmsg(pr('base.errors.only_local')) end IRB.start(__FILE__) end