Sha256: 6f328a0e54bc7d2f16dfa835c7db3479aa5590cd16e0d801091ba0e816e45c6d
Contents?: true
Size: 324 Bytes
Versions: 2
Compression:
Stored size: 324 Bytes
Contents
module Cacher # The partial generator uses a subtoken(downto:1) generator as default. # class PartialGenerator < Generator # Generate a partial index based on the given index. # def generate strategy = Partial::Subtoken.new(:down_to => 1) strategy.generate_from self.index end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
picky-0.9.0 | lib/picky/cacher/partial_generator.rb |
picky-0.3.0 | lib/picky/cacher/partial_generator.rb |