Class: Canopus::Git::State::Snapshot
- Inherits:
-
Data
- Object
- Data
- Canopus::Git::State::Snapshot
- Defined in:
- lib/canopus/git/state.rb
Instance Attribute Summary collapse
-
#branch ⇒ Object
readonly
Returns the value of attribute branch.
-
#entries ⇒ Object
readonly
Returns the value of attribute entries.
-
#head ⇒ Object
readonly
Returns the value of attribute head.
-
#index_stamp ⇒ Object
readonly
Returns the value of attribute index_stamp.
Instance Method Summary collapse
Instance Attribute Details
#branch ⇒ Object (readonly)
Returns the value of attribute branch
7 8 9 |
# File 'lib/canopus/git/state.rb', line 7 def branch @branch end |
#entries ⇒ Object (readonly)
Returns the value of attribute entries
7 8 9 |
# File 'lib/canopus/git/state.rb', line 7 def entries @entries end |
#head ⇒ Object (readonly)
Returns the value of attribute head
7 8 9 |
# File 'lib/canopus/git/state.rb', line 7 def head @head end |
#index_stamp ⇒ Object (readonly)
Returns the value of attribute index_stamp
7 8 9 |
# File 'lib/canopus/git/state.rb', line 7 def index_stamp @index_stamp end |
Instance Method Details
#identity ⇒ Object
8 |
# File 'lib/canopus/git/state.rb', line 8 def identity = [head, branch, index_stamp].freeze |