Skip to content

Commit 43ca1b7

Browse files
Use different private class method
1 parent b7cb064 commit 43ca1b7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

templates/ruby/lib/container/id.rb.twig

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,9 @@ module {{spec.title | caseUcfirst}}
1414
base_id + random_padding
1515
end
1616

17-
private
18-
1917
#Generate an hex ID based on timestamp
2018
#Recreated from https://www.php.net/manual/en/function.uniqid.php
21-
def self.hex_timestamp
19+
private_class_method def self.hex_timestamp
2220
now = Time.now
2321
sec = now.to_i
2422
usec = now.usec

0 commit comments

Comments
 (0)