Method: Gitlab::Shell::History#lines

Defined in:
lib/gitlab/shell_history.rb

#linesObject

[View source]

26
27
28
# File 'lib/gitlab/shell_history.rb', line 26

def lines
  Readline::HISTORY.to_a.last(max_lines)
end