Method: SimpleNestedSet::Move::Protection#impossible_move!
- Defined in:
- lib/simple_nested_set/move/protection.rb
#impossible_move!(message) ⇒ Object
49 50 51 |
# File 'lib/simple_nested_set/move/protection.rb', line 49 def impossible_move!() raise Impossible, "Impossible move: #{.split("\n").map! { |line| line.strip }.join}" end |