Sha256: d5fb4f4c221c5d27f0f04f630b382c9e84944b76c076ab5d5d900eb97b9b5fd9
Contents?: true
Size: 287 Bytes
Versions: 22
Compression:
Stored size: 287 Bytes
Contents
# frozen_string_literal: true module GirFFI # Generates a sequence of unique variable names used in generating # function definitions. class VariableNameGenerator def initialize @varno = 0 end def new_var @varno += 1 "_v#{@varno}" end end end
Version data entries
22 entries across 22 versions & 1 rubygems