Class: Gerrit::Command::Groups

Inherits:
Base
  • Object
show all
Defined in:
lib/gerrit/command/groups.rb

Overview

List all groups the user can view.

Instance Method Summary collapse

Methods inherited from Base

#execute_command, from_arguments, #initialize, #run

Methods included from Utils

camel_case, commit_hash?, human_time, map_in_parallel, snake_case

Constructor Details

This class inherits a constructor from Gerrit::Command::Base

Instance Method Details

#executeObject



4
5
6
7
8
# File 'lib/gerrit/command/groups.rb', line 4

def execute
  client.groups.each do |group|
    ui.print group
  end
end