Sha256: ad9ae7a458495b9652b8fa8d2d52c04a2be44c198cd96c658d05a1a60134ab4b
Contents?: true
Size: 240 Bytes
Versions: 3
Compression:
Stored size: 240 Bytes
Contents
# encoding: utf-8 module FFaker module GenderCN extend ModuleUtils extend self GENDERS = %w(男 女) def random GENDERS.sample end alias_method :maybe, :random alias_method :sample, :random end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ffaker-2.2.0 | lib/ffaker/gender_cn.rb |
ffaker-2.1.0 | lib/ffaker/gender_cn.rb |
ffaker-2.0.0 | lib/ffaker/gender_cn.rb |