class Byebug::ThreadCommand::CurrentCommand

Information about the current thread

Public Class Methods

description() click to toggle source
# File lib/byebug/commands/thread/current.rb, line 18
def self.description
  <<-EOD
    th[read] c[urrent]

    #{short_description}
  EOD
end
regexp() click to toggle source
# File lib/byebug/commands/thread/current.rb, line 14
def self.regexp
  /^\s* c(?:urrent)? \s*$/x
end
short_description() click to toggle source
# File lib/byebug/commands/thread/current.rb, line 26
def self.short_description
  'Shows current thread information'
end

Public Instance Methods

execute() click to toggle source
# File lib/byebug/commands/thread/current.rb, line 30
def execute
  display_context(context)
end