Class: Faker::App

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/app.rb

Constant Summary

Constants inherited from Base

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

Class Method Summary collapse

Methods inherited from Base

bothify, fetch, fetch_all, flexible, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, sample, shuffle, translate, unique, with_locale

Class Method Details

.authorObject


13
14
15
# File 'lib/faker/app.rb', line 13

def author
  parse('app.author')
end

.nameObject


5
6
7
# File 'lib/faker/app.rb', line 5

def name
  fetch('app.name')
end

.versionObject


9
10
11
# File 'lib/faker/app.rb', line 9

def version
  parse('app.version')
end