lib/hanoi/jane/towers.rb in hanoi-jane-0.2.1 vs lib/hanoi/jane/towers.rb in hanoi-jane-0.2.2
- old
+ new
@@ -21,14 +21,14 @@
def solved
rebased.chars.all? { |digit| digit.to_i == @base - 1 }
end
def matrix
- Matrix.new self
+ Formatters::Matrix.new self
end
def console
- (Console.new self).to_s
+ (Formatters::Console.new self).to_s
end
def inspect
{
stacks: @stacks,