class Byebug::HistoryCommand
def execute
def execute history = @state.interface.history if @match[:num_cmds] size, _ = get_int(@match[:num_cmds], 'history', 1, history.size) return errmsg(err) unless size end puts history.to_s(size) end
def execute history = @state.interface.history if @match[:num_cmds] size, _ = get_int(@match[:num_cmds], 'history', 1, history.size) return errmsg(err) unless size end puts history.to_s(size) end