Exception: Braid::Operations::MergeError

Inherits:
BraidError
  • Object
show all
Defined in:
lib/braid/operations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from T::Sig

#sig

Constructor Details

#initialize(conflicts_text) ⇒ MergeError

Returns a new instance of MergeError.



58
59
60
# File 'lib/braid/operations.rb', line 58

def initialize(conflicts_text)
  @conflicts_text = conflicts_text
end

Instance Attribute Details

#conflicts_textObject (readonly)

Returns the value of attribute conflicts_text.



55
56
57
# File 'lib/braid/operations.rb', line 55

def conflicts_text
  @conflicts_text
end

Instance Method Details

#messageObject



63
64
65
# File 'lib/braid/operations.rb', line 63

def message
  'could not merge'
end