module Github::CLI::ShellHelpers

Public Instance Methods

hr() click to toggle source
# File lib/github/cli/shell_helpers.rb, line 10
def hr
  '-' * terminal_width
end
width_for_percent(percent) click to toggle source
# File lib/github/cli/shell_helpers.rb, line 6
def width_for_percent(percent)
  (terminal_width * percent).to_i
end