Class: Faker::App
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
.author ⇒ Object
17
18
19
|
# File 'lib/faker/app.rb', line 17
def author
parse('app.author')
end
|
.name ⇒ Object
5
6
7
|
# File 'lib/faker/app.rb', line 5
def name
fetch('app.name')
end
|
.version ⇒ Object
9
10
11
12
13
14
15
|
# File 'lib/faker/app.rb', line 9
def version
if parse('app.version') == ""
numerify(fetch('app.version'))
else
parse('app.version')
end
end
|