lib/hanoi/jane/towers.rb in hanoi-jane-0.2.2 vs lib/hanoi/jane/towers.rb in hanoi-jane-0.2.3

- old
+ new

@@ -2,15 +2,17 @@ module Jane class Towers include Enumerable attr_reader :total, :stacks, :discs + attr_accessor :fancy def initialize discs @discs = discs @total = 0 @base = 2 @stacks = [(0...discs).to_a.reverse, [], []] + @fancy = false end def move diff find_disc