Sha256: 4f4f662ca9a9ef41d577f774c6461775d3c09c9bc9815536a7cde9df63055017
Contents?: true
Size: 1.87 KB
Versions: 2
Compression:
Stored size: 1.87 KB
Contents
class Gimei type gender_type = :female | :male GENDERS: [:male, :female] extend Forwardable self.@names: untyped # (Hash['first_name', Hash[('male' | 'female'), Array[[String, String, String]]]] | Hash['last_name', Array[[String, String, String]]]) self.@addresses: Hash['addresses', Hash[('prefecture' | 'city' | 'town'), [String, String, String]]] self.@unique: UniqueGenerator self.@config: Config attr_reader name: Name attr_reader address: Address def self.male: -> Name def self.female: -> Name def self.name: (?gender_type? gender) -> Name def self.names: -> untyped # (Hash['first_name', Hash[('male' | 'female'), Array[[String, String, String]]]] | Hash['last_name', Array[[String, String, String]]]) def self.addresses: -> Hash['addresses', Hash[('prefecture' | 'city' | 'town'), Array[[String, String, String]]]] def self.kanji: (?gender_type? gender) -> String def self.hiragana: (?gender_type? gender) -> String def self.katakana: (?gender_type? gender) -> String def self.romaji: (?gender_type? gender) -> String def self.first: (?gender_type? gender) -> Name::First def self.last: (?gender_type? gender) -> Name::Last def self.address: -> Address def self.prefecture: -> Address::Prefecture def self.city: -> Address::City def self.town: -> Address::Town def self.unique: (?Integer max_retries) -> UniqueGenerator def self.config: -> Config alias self.family self.last alias self.given self.first def initialize: (?gender_type? gender) -> void def first: -> Gimei::Name::First def last: -> Gimei::Name::Last def gender: -> gender_type def kanji: -> String def hiragana: -> String def katakana: -> String def romaji: -> String def family: -> String def given: -> String def male?: -> bool def female?: -> bool def prefecture: -> Address::Prefecture def city: -> Address::City def town: -> Address::Town end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gimei-1.4.0 | sig/gimei.rbs |
gimei-1.3.2 | sig/gimei.rbs |