Sha256: ec7dc34b1ba600787197d91add9c83d08c3772c7fe4042125f0a2c5a528f5988
Contents?: true
Size: 387 Bytes
Versions: 12
Compression:
Stored size: 387 Bytes
Contents
module Faker class Name < Base class << self def name fetch('name.formats').collect {|meth| self.send(meth) }.join(' ') end def first_name; fetch('name.first_name'); end def last_name; fetch('name.last_name'); end def prefix; fetch('name.prefix'); end def suffix; fetch('name.suffix'); end end end end
Version data entries
12 entries across 12 versions & 3 rubygems