Sha256: c3fcdb55af6216a8e56d9de63720ee277e9b0edd20d5d9d1cdcf46b1840c2a0a
Contents?: true
Size: 381 Bytes
Versions: 4
Compression:
Stored size: 381 Bytes
Contents
# encoding: utf-8 module FFaker module CompanyCN extend ModuleUtils extend self TYPES = %w(科技 食品 电器 教育 咨询 网络).freeze SUFFIXES = %w(有限公司 公司).freeze def name "#{NameCN.first_name}#{type}#{suffix}" end def type fetch_sample(TYPES) end def suffix fetch_sample(SUFFIXES) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ffaker-2.6.0 | lib/ffaker/company_cn.rb |
ffaker-2.5.0 | lib/ffaker/company_cn.rb |
ffaker-2.4.0 | lib/ffaker/company_cn.rb |
ffaker-2.3.0 | lib/ffaker/company_cn.rb |