lib/faker/company.rb in faker-0.9.2 vs lib/faker/company.rb in faker-0.9.3
- old
+ new
@@ -1,13 +1,13 @@
module Faker
- class Company
+ class Company < Base
class << self
def name
Formats.rand.call
end
def suffix
- I18n.translate('company.suffix').rand
+ I18n.translate('faker.company.suffix').rand
end
# Generate a buzzword-laden catch phrase.
# Wordlist from http://www.1728.com/buzzword.htm
def catch_phrase
\ No newline at end of file