Class: Faf::Forks
Instance Attribute Summary collapse
-
#repo ⇒ Object
readonly
Returns the value of attribute repo.
Instance Method Summary collapse
- #each ⇒ Object
-
#initialize(repo, _options = {}) ⇒ Forks
constructor
A new instance of Forks.
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, = {}) @repo = repo end |
Instance Attribute Details
#repo ⇒ Object (readonly)
Returns the value of attribute repo.
5 6 7 |
# File 'lib/faf/forks.rb', line 5 def repo @repo end |
Instance Method Details
#each ⇒ Object
11 12 13 14 15 |
# File 'lib/faf/forks.rb', line 11 def each forks.each do |f| yield(f) end end |