class Byebug::InfoCommand::LineSubcommand


Information about current location

def description

def description
  <<-EOD
    inf[o] l[ine]
    #{short_description}
  EOD
end

def execute

def execute
  puts "Line #{@state.line} of \"#{@state.file}\""
end

def regexp

def regexp
  /^\s* l(?:ine)? \s*$/x
end

def short_description

def short_description
  'Line number and file name of current position in source file.'
end