Class: WifiWand::Platforms::Mac::Helper::GitSkipWorktree::Result
- Inherits:
-
Struct
- Object
- Struct
- WifiWand::Platforms::Mac::Helper::GitSkipWorktree::Result
- Defined in:
- lib/wifi_wand/platforms/mac/helper/git_skip_worktree.rb
Instance Attribute Summary collapse
-
#paths ⇒ Object
Returns the value of attribute paths.
-
#tracked_entries ⇒ Object
Returns the value of attribute tracked_entries.
Instance Method Summary collapse
Instance Attribute Details
#paths ⇒ Object
Returns the value of attribute paths
41 42 43 |
# File 'lib/wifi_wand/platforms/mac/helper/git_skip_worktree.rb', line 41 def paths @paths end |
#tracked_entries ⇒ Object
Returns the value of attribute tracked_entries
41 42 43 |
# File 'lib/wifi_wand/platforms/mac/helper/git_skip_worktree.rb', line 41 def tracked_entries @tracked_entries end |
Instance Method Details
#skipped? ⇒ Boolean
44 |
# File 'lib/wifi_wand/platforms/mac/helper/git_skip_worktree.rb', line 44 def skipped? = tracked_count.positive? && skipped_count == tracked_count |
#skipped_count ⇒ Object
42 |
# File 'lib/wifi_wand/platforms/mac/helper/git_skip_worktree.rb', line 42 def skipped_count = tracked_entries.count(&:skipped?) |
#tracked_count ⇒ Object
43 |
# File 'lib/wifi_wand/platforms/mac/helper/git_skip_worktree.rb', line 43 def tracked_count = tracked_entries.count |