Method: SimpleNestedSet::Move::Protection#inconsistent_move!

Defined in:
lib/simple_nested_set/move/protection.rb

#inconsistent_move!(message) ⇒ Object

Raises:



45
46
47
# File 'lib/simple_nested_set/move/protection.rb', line 45

def inconsistent_move!(message)
  raise Inconsistent, "Impossible move: #{message.split("\n").map! { |line| line.strip }.join}"
end