Sha256: 19a2d80682b1199f58d7e5f846e65388d3d80c71e0d65d765551ab18b6f7fc9e

Contents?: true

Size: 177 Bytes

Versions: 2

Compression:

Stored size: 177 Bytes

Contents

class Condenser::SVGTransformer::VarGenerator
  def initialize
    @current = nil
  end
  
  def next
    @current = @current.nil? ? '__a' : @current.next
    @current
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
condenser-1.4 lib/condenser/transformers/svg_transformer/var_generator.rb
condenser-1.3 lib/condenser/transformers/svg_transformer/var_generator.rb