Class: KKGit::CommitMessage::Change

Inherits:
Struct
  • Object
show all
Defined in:
lib/kk/git/commit_message.rb

Overview

Change entry (supports rename/copy old/new paths)

Instance Attribute Summary collapse

Instance Attribute Details

#old_pathObject

Returns the value of attribute old_path

Returns:

  • (Object)

    the current value of old_path



14
15
16
# File 'lib/kk/git/commit_message.rb', line 14

def old_path
  @old_path
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



14
15
16
# File 'lib/kk/git/commit_message.rb', line 14

def path
  @path
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



14
15
16
# File 'lib/kk/git/commit_message.rb', line 14

def source
  @source
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



14
15
16
# File 'lib/kk/git/commit_message.rb', line 14

def status
  @status
end