Class: Gitlab::Git::Blame
- Inherits:
-
Object
- Object
- Gitlab::Git::Blame
- Defined in:
- lib/gitlab_git/blame.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
-
#repository ⇒ Object
Returns the value of attribute repository.
-
#sha ⇒ Object
Returns the value of attribute sha.
Instance Method Summary collapse
- #each ⇒ Object
-
#initialize(repository, sha, path) ⇒ Blame
constructor
A new instance of Blame.
Constructor Details
#initialize(repository, sha, path) ⇒ Blame
Returns a new instance of Blame.
6 7 8 |
# File 'lib/gitlab_git/blame.rb', line 6 def initialize(repository, sha, path) @repository, @sha, @path = repository, sha, path end |
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path.
4 5 6 |
# File 'lib/gitlab_git/blame.rb', line 4 def path @path end |
#repository ⇒ Object
Returns the value of attribute repository.
4 5 6 |
# File 'lib/gitlab_git/blame.rb', line 4 def repository @repository end |
#sha ⇒ Object
Returns the value of attribute sha.
4 5 6 |
# File 'lib/gitlab_git/blame.rb', line 4 def sha @sha end |