Class: Releasinator::DownstreamRepo
- Inherits:
-
Object
- Object
- Releasinator::DownstreamRepo
- Defined in:
- lib/downstream_repo.rb
Instance Attribute Summary collapse
-
#branch ⇒ Object
readonly
Returns the value of attribute branch.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(name, url, branch, options = {}) ⇒ DownstreamRepo
constructor
A new instance of DownstreamRepo.
Constructor Details
#initialize(name, url, branch, options = {}) ⇒ DownstreamRepo
Returns a new instance of DownstreamRepo.
4 5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/downstream_repo.rb', line 4 def initialize(name, url, branch, ={}) @name = name @url = url @branch = branch = # options are: # :new_branch_name (if set, ignores :release_to_github) # :release_to_github # :files_to_copy # :full_file_sync # :post_copy_methods # :build_methods end |
Instance Attribute Details
#branch ⇒ Object (readonly)
Returns the value of attribute branch.
3 4 5 |
# File 'lib/downstream_repo.rb', line 3 def branch @branch end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/downstream_repo.rb', line 3 def name @name end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
3 4 5 |
# File 'lib/downstream_repo.rb', line 3 def end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
3 4 5 |
# File 'lib/downstream_repo.rb', line 3 def url @url end |