Method: SimpleNestedSet::Move::Protection#impossible_move!

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

#impossible_move!(message) ⇒ Object

Raises:



49
50
51
# File 'lib/simple_nested_set/move/protection.rb', line 49

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