Class: RepoInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#branchObject

Returns the value of attribute branch.



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

def branch
  @branch
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#urlObject

Returns the value of attribute url.



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

def url
  @url
end