Class: RepoInfo
- Inherits:
-
Object
- Object
- RepoInfo
- Defined in:
- lib/qcs.rb
Instance Attribute Summary collapse
-
#branch ⇒ Object
Returns the value of attribute branch.
-
#name ⇒ Object
Returns the value of attribute name.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(name, url, branch) ⇒ RepoInfo
constructor
A new instance of RepoInfo.
Constructor Details
#initialize(name, url, branch) ⇒ RepoInfo
Returns a new instance of RepoInfo.
9 10 11 12 13 |
# File 'lib/qcs.rb', line 9 def initialize(name, url, branch) @name = name @url = url @branch = branch end |
Instance Attribute Details
#branch ⇒ Object
Returns the value of attribute branch.
7 8 9 |
# File 'lib/qcs.rb', line 7 def branch @branch end |
#name ⇒ Object
Returns the value of attribute name.
7 8 9 |
# File 'lib/qcs.rb', line 7 def name @name end |
#url ⇒ Object
Returns the value of attribute url.
7 8 9 |
# File 'lib/qcs.rb', line 7 def url @url end |