Sha256: 1d0a910c4cfd7ee7764b26531012b6dfaa4a03787df761417f47799ca3986007
Contents?: true
Size: 339 Bytes
Versions: 1
Compression:
Stored size: 339 Bytes
Contents
module Hanoi module Jane class ConstrainedTowers < Towers extend ConstrainedStackFinder def initialize discs = 3 super @base = 3 end def ternary rebased end def inspect i = super i[:ternary] = i.delete :binary i end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hanoi-jane-0.3.0 | lib/hanoi/jane/towers/constrained_towers.rb |