sig/gimei/unique_generator.rbs in gimei-1.3.1 vs sig/gimei/unique_generator.rbs in gimei-1.3.2
- old
+ new
@@ -8,12 +8,22 @@
def self.previous_results: -> Hash[Symbol, Set[String]]
def initialize: (Class klass, Integer max_retries) -> void
def previous_results: -> Hash[Symbol, Set[String]]
def clear: (?Symbol? key) -> void
def define_unique_method: (Symbol method_name, ?Symbol previous_result_key) -> Symbol
- def name: -> Name
- def first: -> Name::First
- def last: -> Name::Last
+ def name: (?gender_type?) -> Name
+ def male: -> Name
+ def female: -> Name
+ def first: (?gender_type?) -> Name::First
+ def last: (?gender_type?) -> Name::Last
+ def hiragana: (?gender_type?) -> String
+ def katakana: (?gender_type?) -> String
+ def kanji: (?gender_type?) -> String
+ def romaji: (?gender_type?) -> String
+ def address: -> Address
+ def prefecture: -> Address::Prefecture
+ def city: -> Address::City
+ def town: -> Address::Town
alias family last
alias given first
private
attr_reader klass: Class