Class: Sem::Views::Users
Class Method Summary collapse
Methods inherited from Base
org_names_not_matching, print_table
Class Method Details
.list(users) ⇒ Object
2 3 4 5 6 7 8 9 10 |
# File 'lib/sem/views/users.rb', line 2 def self.list(users) header = ["NAME"] body = users.map do |user| [user.username] end print_table [header, *body] end |