Class: Faker::Company

Inherits:
Base show all
Defined in:
lib/garcon/utility/faker/faker/company.rb

Constant Summary

Constants inherited from Base

Base::Letters, Base::Numbers, Base::ULetters

Class Method Summary collapse

Methods inherited from Base

bothify, fetch, flexible, letterify, method_missing, numerify, parse, rand_in_range, regexify, translate

Class Method Details

.bsObject

When a straight answer won’t do, BS to the rescue!



12
13
14
# File 'lib/garcon/utility/faker/faker/company.rb', line 12

def bs
  translate('faker.company.bs').collect {|list| list.sample }.join(' ')
end

.catch_phraseObject

Generate a buzzword-laden catch phrase.



7
8
9
# File 'lib/garcon/utility/faker/faker/company.rb', line 7

def catch_phrase
  translate('faker.company.buzzwords').collect {|list| list.sample }.join(' ')
end