Class: Remover::List

Inherits:
Object
  • Object
show all
Defined in:
lib/remover/list.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(github_client) ⇒ List

Returns a new instance of List.



5
6
7
# File 'lib/remover/list.rb', line 5

def initialize(github_client)
  @github_client = github_client
end

Instance Attribute Details

#github_clientObject

Returns the value of attribute github_client.



3
4
5
# File 'lib/remover/list.rb', line 3

def github_client
  @github_client
end

Instance Method Details

#unused_teamsObject



9
10
11
# File 'lib/remover/list.rb', line 9

def unused_teams
  teams.delete_if(&:used?)
end