/
company.ex
177 lines (146 loc) · 3.87 KB
/
company.ex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
defmodule Faker.Company do
import Faker, only: [localize: 1]
@moduledoc """
Functions for generating company names and related stuff
"""
@doc """
Returns a random complete business related bullshit
## Examples
iex> Faker.Company.bs()
"syndicate e-business e-business"
iex> Faker.Company.bs()
"scale global metrics"
iex> Faker.Company.bs()
"optimize scalable markets"
iex> Faker.Company.bs()
"implement out-of-the-box content"
"""
@spec bs() :: String.t()
localize(:bs)
@doc """
Returns a random business related bullshit
## Examples
iex> Faker.Company.bullshit()
"web-enabled"
iex> Faker.Company.bullshit()
"e-business"
iex> Faker.Company.bullshit()
"web-enabled"
iex> Faker.Company.bullshit()
"next-generation"
"""
@spec bullshit() :: String.t()
localize(:bullshit)
@doc """
Returns a random business related bullshit prefix
## Examples
iex> Faker.Company.bullshit_prefix()
"syndicate"
iex> Faker.Company.bullshit_prefix()
"visualize"
iex> Faker.Company.bullshit_prefix()
"incentivize"
iex> Faker.Company.bullshit_prefix()
"scale"
"""
@spec bullshit_prefix() :: String.t()
localize(:bullshit_prefix)
@doc """
Returns a random business related bullshit suffix
## Examples
iex> Faker.Company.bullshit_suffix()
"e-services"
iex> Faker.Company.bullshit_suffix()
"niches"
iex> Faker.Company.bullshit_suffix()
"e-business"
iex> Faker.Company.bullshit_suffix()
"systems"
"""
@spec bullshit_suffix() :: String.t()
localize(:bullshit_suffix)
@doc """
Returns a random business related buzzword
## Examples
iex> Faker.Company.buzzword()
"upward-trending"
iex> Faker.Company.buzzword()
"full-range"
iex> Faker.Company.buzzword()
"uniform"
iex> Faker.Company.buzzword()
"tertiary"
"""
@spec buzzword() :: String.t()
localize(:buzzword)
@doc """
Returns a random business related buzzword prefix
## Examples
iex> Faker.Company.buzzword_prefix()
"Configurable"
iex> Faker.Company.buzzword_prefix()
"Advanced"
iex> Faker.Company.buzzword_prefix()
"Grass-roots"
iex> Faker.Company.buzzword_prefix()
"Automated"
"""
@spec buzzword_prefix() :: String.t()
localize(:buzzword_prefix)
@doc """
Returns a random business related buzzword suffix
## Examples
iex> Faker.Company.buzzword_suffix()
"encoding"
iex> Faker.Company.buzzword_suffix()
"standardization"
iex> Faker.Company.buzzword_suffix()
"Graphical User Interface"
iex> Faker.Company.buzzword_suffix()
"product"
"""
@spec buzzword_suffix() :: String.t()
localize(:buzzword_suffix)
@doc """
Returns a random complete catch phrase
## Examples
iex> Faker.Company.catch_phrase()
"Configurable full-range Graphical User Interface"
iex> Faker.Company.buzzword_suffix()
"product"
iex> Faker.Company.buzzword_suffix()
"intranet"
iex> Faker.Company.buzzword_suffix()
"pricing structure"
"""
@spec catch_phrase() :: String.t()
localize(:catch_phrase)
@doc """
Returns complete company name
## Examples
iex> Faker.Company.name()
"Hayes Inc"
iex> Faker.Company.name()
"Sipes, Wehner and Hane"
iex> Faker.Company.name()
"Schiller, Rogahn and Hartmann"
iex> Faker.Company.name()
"Murphy-Metz"
"""
@spec name() :: String.t()
localize(:name)
@doc """
Returns a random type of business entity
## Examples
iex> Faker.Company.suffix()
"Inc"
iex> Faker.Company.suffix()
"and Sons"
iex> Faker.Company.suffix()
"Inc"
iex> Faker.Company.suffix()
"Ltd"
"""
@spec suffix() :: String.t()
localize(:suffix)
end