Class: GitStats::GitData::Tree
- Inherits:
-
Object
- Object
- GitStats::GitData::Tree
- Includes:
- HashInitializable
- Defined in:
- lib/git_stats/git_data/tree.rb
Instance Attribute Summary collapse
-
#relative_path ⇒ Object
readonly
Returns the value of attribute relative_path.
-
#repo ⇒ Object
readonly
Returns the value of attribute repo.
Instance Method Summary collapse
Methods included from HashInitializable
Instance Attribute Details
#relative_path ⇒ Object (readonly)
Returns the value of attribute relative_path.
9 10 11 |
# File 'lib/git_stats/git_data/tree.rb', line 9 def relative_path @relative_path end |
#repo ⇒ Object (readonly)
Returns the value of attribute repo.
9 10 11 |
# File 'lib/git_stats/git_data/tree.rb', line 9 def repo @repo end |
Instance Method Details
#==(other) ⇒ Object
17 18 19 |
# File 'lib/git_stats/git_data/tree.rb', line 17 def ==(other) ((self.repo == other.repo) && (self.relative_path == other.relative_path)) end |