Exception: Bringit::Committing::HeadChangedError
- Defined in:
- lib/bringit/committing.rb
Overview
This error is thrown when attempting to commit on a branch whose HEAD has changed.
Instance Attribute Summary collapse
-
#conflicts ⇒ Object
readonly
Returns the value of attribute conflicts.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(message, conflicts, options) ⇒ HeadChangedError
constructor
A new instance of HeadChangedError.
Constructor Details
#initialize(message, conflicts, options) ⇒ HeadChangedError
Returns a new instance of HeadChangedError.
18 19 20 21 22 |
# File 'lib/bringit/committing.rb', line 18 def initialize(, conflicts, ) super() @conflicts = conflicts @options = end |
Instance Attribute Details
#conflicts ⇒ Object (readonly)
Returns the value of attribute conflicts.
17 18 19 |
# File 'lib/bringit/committing.rb', line 17 def conflicts @conflicts end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
17 18 19 |
# File 'lib/bringit/committing.rb', line 17 def @options end |