Module: Dummy::Company
Instance Method Summary collapse
-
#bs ⇒ Object
Wordlist from dack.com/web/bullshit.html.
-
#catch_phrase ⇒ Object
Wordlist from www.1728.com/buzzword.htm.
- #name ⇒ Object
Instance Method Details
#bs ⇒ Object
Wordlist from dack.com/web/bullshit.html
19 20 21 |
# File 'lib/dummy/company.rb', line 19 def bs "#{BS_PRE.rand} #{BS_MID.rand} #{BS_POS.rand}" end |
#catch_phrase ⇒ Object
Wordlist from www.1728.com/buzzword.htm
14 15 16 |
# File 'lib/dummy/company.rb', line 14 def catch_phrase "#{CATCH_PRE.rand} #{CATCH_MID.rand} #{CATCH_POS.rand}" end |
#name ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/dummy/company.rb', line 5 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 |