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