module Faker::Company
def bs
When a straight answer won't do, BS to the rescue!
def bs "#{BS_PRE.rand} #{BS_MID.rand} #{BS_POS.rand}" end
def catch_phrase
Generate a buzzword-laden catch phrase.
def catch_phrase "#{CATCH_PRE.rand} #{CATCH_MID.rand} #{CATCH_POS.rand}" end
def name
def name case rand(3) when 0 then "#{Name.last_name} #{suffix}" when 1 then "#{Name.last_name}-#{Name.last_name}" when 2 then "%s, %s and %s" % [ Name.last_name, Name.last_name, Name.last_name ] end end
def position
def position case rand(3) when 0 then [POSITION_PREFIXES.rand, POSITIONS.rand] when 1 then [POSITION_AREAS.rand, POSITIONS.rand] when 2 then [POSITION_PREFIXES.rand, POSITION_AREAS.rand, POSITIONS.rand] end.join(' ') end
def suffix
def suffix SUFFIXES.rand end