mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
13 lines
205 B
Ruby
13 lines
205 B
Ruby
# frozen_string_literal: true
|
|
module Hamlit
|
|
class Identity
|
|
def initialize
|
|
@unique_id = 0
|
|
end
|
|
|
|
def generate
|
|
@unique_id += 1
|
|
"_hamlit_compiler#{@unique_id}"
|
|
end
|
|
end
|
|
end
|