lib/hanoi/jane/towers.rb in hanoi-jane-0.1.3 vs lib/hanoi/jane/towers.rb in hanoi-jane-0.1.4
- old
+ new
@@ -29,10 +29,10 @@
def inspect
{
stacks: @stacks,
moves: @total,
binary: rebased,
- flipped: @disc
+ moved: @disc
}
end
def each
yield self if @total == 0