Class: Issuesrc::GitFile
Instance Attribute Summary collapse
-
#branch ⇒ Object
readonly
Returns the value of attribute branch.
-
#path_in_repo ⇒ Object
readonly
Returns the value of attribute path_in_repo.
-
#repo ⇒ Object
readonly
Returns the value of attribute repo.
Attributes inherited from FSFile
Instance Method Summary collapse
-
#initialize(path, path_in_repo, branch) ⇒ GitFile
constructor
A new instance of GitFile.
Methods inherited from FSFile
Constructor Details
#initialize(path, path_in_repo, branch) ⇒ GitFile
Returns a new instance of GitFile.
34 35 36 37 38 |
# File 'lib/issuesrc/file.rb', line 34 def initialize(path, path_in_repo, branch) super(path) @path_in_repo = path_in_repo @branch = branch end |
Instance Attribute Details
#branch ⇒ Object (readonly)
Returns the value of attribute branch.
32 33 34 |
# File 'lib/issuesrc/file.rb', line 32 def branch @branch end |
#path_in_repo ⇒ Object (readonly)
Returns the value of attribute path_in_repo.
31 32 33 |
# File 'lib/issuesrc/file.rb', line 31 def path_in_repo @path_in_repo end |
#repo ⇒ Object (readonly)
Returns the value of attribute repo.
30 31 32 |
# File 'lib/issuesrc/file.rb', line 30 def repo @repo end |