lib/gitlab/cli_helpers.rb
# Decides which table to use.
#
# @return [String]
Decides which table to use.
Decides which table to use .
def output_table(cmd, args, data)
      case data
      when Gitlab::ObjectifiedHash
        puts single_record_table(data, cmd, args)
      when Array
        puts multiple_record_table(data, cmd, args)
      else
        puts data.inspect
      end
    end
def output_table ( cmd , args , data ) case data when Gitlab :: ObjectifiedHash puts single_record_table ( data , cmd , args ) when Array puts multiple_record_table ( data , cmd , args ) else puts data . inspect end end
Decides which table to use.
Decides which table to use .
None
String
cmd
<not_specific>
args
<not_specific>
data
<not_specific>