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.
10 11 12 |
# File 'lib/git_stats/git_data/tree.rb', line 10 def relative_path @relative_path end |
#repo ⇒ Object (readonly)
Returns the value of attribute repo.
10 11 12 |
# File 'lib/git_stats/git_data/tree.rb', line 10 def repo @repo end |
Instance Method Details
#==(other) ⇒ Object
18 19 20 |
# File 'lib/git_stats/git_data/tree.rb', line 18 def ==(other) repo == other.repo && relative_path == other.relative_path end |