Class: Faf::Forks

Inherits:
Object
  • Object
show all
Includes:
Enumerable
Defined in:
lib/faf/forks.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(repo, _options = {}) ⇒ Forks

Returns a new instance of Forks.



7
8
9
# File 'lib/faf/forks.rb', line 7

def initialize(repo, _options = {})
  @repo = repo
end

Instance Attribute Details

#repoObject (readonly)

Returns the value of attribute repo.



5
6
7
# File 'lib/faf/forks.rb', line 5

def repo
  @repo
end

Instance Method Details

#eachObject



11
12
13
14
15
# File 'lib/faf/forks.rb', line 11

def each
  forks.each do |f|
    yield(f)
  end
end