Class: Faker::StarTrek
- Inherits:
-
Base
- Object
- Base
- Faker::StarTrek
show all
- Defined in:
- lib/faker/star_trek.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
.character ⇒ Object
4
5
6
|
# File 'lib/faker/star_trek.rb', line 4
def character
fetch('star_trek.character')
end
|
.location ⇒ Object
8
9
10
|
# File 'lib/faker/star_trek.rb', line 8
def location
fetch('star_trek.location')
end
|
.specie ⇒ Object
12
13
14
|
# File 'lib/faker/star_trek.rb', line 12
def specie
fetch('star_trek.specie')
end
|
.villain ⇒ Object
16
17
18
|
# File 'lib/faker/star_trek.rb', line 16
def villain
fetch('star_trek.villain')
end
|