mirror of
https://github.com/askn/faker.git
synced 2023-08-10 21:13:01 +03:00
Clean up comment
This commit is contained in:
parent
bd1a8efc6c
commit
544bb80025
@ -9,8 +9,6 @@ module Faker
|
|||||||
@@__unique_vals_for_{{attribute_name}} = Array(Any).new
|
@@__unique_vals_for_{{attribute_name}} = Array(Any).new
|
||||||
|
|
||||||
def self.unique_{{attribute_name}}({% if !modified_method_attributes.empty? %}{{*modified_method_attributes}},{% end %} max_retries = 10_0000)
|
def self.unique_{{attribute_name}}({% if !modified_method_attributes.empty? %}{{*modified_method_attributes}},{% end %} max_retries = 10_0000)
|
||||||
# meth = ->self.{{attribute_name}}
|
|
||||||
|
|
||||||
max_retries.times do |t|
|
max_retries.times do |t|
|
||||||
val = self.{{attribute_name}}({{*modified_method_attributes}})
|
val = self.{{attribute_name}}({{*modified_method_attributes}})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user