Sha256: e9b5c8c0b9cf77fb80fe04ba9fa2da44e86b433bc65447ef07dfeb23398c5650
Contents?: true
Size: 365 Bytes
Versions: 24
Compression:
Stored size: 365 Bytes
Contents
module Internals module Generators # The partial generator uses a subtoken(downto:1) generator as default. # class PartialGenerator < Base # Generate a partial index based on the given index. # def generate strategy = Partial::Substring.new(from: 1) strategy.generate_from self.index end end end end
Version data entries
24 entries across 24 versions & 1 rubygems