Class: RubyGit::Status::Stash
- Inherits:
-
Object
- Object
- RubyGit::Status::Stash
- Defined in:
- lib/ruby_git/status/stash.rb
Overview
Represents git stash information
Instance Attribute Summary collapse
-
#count ⇒ Integer
The number of stashed changes.
Instance Method Summary collapse
-
#initialize(count) ⇒ Stash
constructor
Initialize a new stash info object.
Constructor Details
#initialize(count) ⇒ Stash
Initialize a new stash info object
28 29 30 |
# File 'lib/ruby_git/status/stash.rb', line 28 def initialize(count) @count = count end |
Instance Attribute Details
#count ⇒ Integer
The number of stashed changes
19 20 21 |
# File 'lib/ruby_git/status/stash.rb', line 19 def count @count end |