Class: Ocak::WorktreeManager::Worktree

Inherits:
Struct
  • Object
show all
Defined in:
lib/ocak/worktree_manager.rb

Overview

rubocop:disable Style/RedundantStructKeywordInit

Instance Attribute Summary collapse

Instance Attribute Details

#branch ⇒ Object

Returns the value of attribute branch

Returns:

  • (Object) —

    the current value of branch



72
73
74
# File 'lib/ocak/worktree_manager.rb', line 72

def branch
  @branch
end

#issue_number ⇒ Object

Returns the value of attribute issue_number

Returns:

  • (Object) —

    the current value of issue_number



72
73
74
# File 'lib/ocak/worktree_manager.rb', line 72

def issue_number
  @issue_number
end

#path ⇒ Object

Returns the value of attribute path

Returns:

  • (Object) —

    the current value of path



72
73
74
# File 'lib/ocak/worktree_manager.rb', line 72

def path
  @path
end

#target_repo ⇒ Object

Returns the value of attribute target_repo

Returns:

  • (Object) —

    the current value of target_repo



72
73
74
# File 'lib/ocak/worktree_manager.rb', line 72

def target_repo
  @target_repo
end