Exception: GitMaintain::CherryPickErrorException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/branch.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(str, commit) ⇒ CherryPickErrorException

Returns a new instance of CherryPickErrorException.



4
5
6
7
# File 'lib/branch.rb', line 4

def initialize(str, commit)
    @commit = commit
    super(str)
end

Instance Attribute Details

#commitObject (readonly)

Returns the value of attribute commit.



8
9
10
# File 'lib/branch.rb', line 8

def commit
  @commit
end