method

display_commands

ruby latest stable - Class: Bundler::Thor::Runner

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

display_commands(namespace, list)
private

No documentation available.

# File lib/bundler/vendor/thor/lib/thor/runner.rb, line 299
  def display_commands(namespace, list) #:nodoc:
    list.sort! { |a, b| a[0] <=> b[0] }

    say shell.set_color(namespace, :blue, true)
    say "-" * namespace.size

    print_table(list, :truncate => true)
    say
  end