Class: Kward::GitWorktreeManager::GitStatus
- Inherits:
-
Struct
- Object
- Struct
- Kward::GitWorktreeManager::GitStatus
- Defined in:
- lib/kward/git_worktree_manager.rb
Instance Attribute Summary collapse
-
#entries ⇒ Object
Returns the value of attribute entries.
Instance Method Summary collapse
Instance Attribute Details
#entries ⇒ Object
Returns the value of attribute entries
72 73 74 |
# File 'lib/kward/git_worktree_manager.rb', line 72 def entries @entries end |
Instance Method Details
#clean? ⇒ Boolean
73 74 75 |
# File 'lib/kward/git_worktree_manager.rb', line 73 def clean? entries.empty? end |
#dirty? ⇒ Boolean
77 78 79 |
# File 'lib/kward/git_worktree_manager.rb', line 77 def dirty? !clean? end |