Class: Kirei::Model::HumanIdGenerator
- Inherits:
-
Object
- Object
- Kirei::Model::HumanIdGenerator
- Extended by:
- T::Sig
- Defined in:
- lib/kirei/model/human_id_generator.rb
Class Method Summary collapse
Class Method Details
.call(length:, prefix:) ⇒ Object
22 23 24 |
# File 'lib/kirei/model/human_id_generator.rb', line 22 def self.call(length:, prefix:) "#{prefix}_#{random_id(length)}" end |