Sha256: cab60d8bee805b992fcbeb52543fe0fa8a05a2879dae7b725c003872281f24be
Contents?: true
Size: 498 Bytes
Versions: 141
Compression:
Stored size: 498 Bytes
Contents
module Picky module Generators module Partial class Postfix < Substring # The from option signifies where in the symbol it # will start in generating the subtokens. # # Examples: # # With :hello # * from: 1 # => [:hello, :hell, :hel, :he, :h] # * from: 4 # => [:hello, :hell] # def initialize options = {} options[:to] = -1 super options end end end end end
Version data entries
141 entries across 141 versions & 1 rubygems