Class: Faker::DcComics
- Inherits:
-
Base
- Object
- Base
- Faker::DcComics
show all
- Defined in:
- lib/faker/default/dc_comics.rb
Constant Summary
Constants inherited
from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary
collapse
Methods inherited from Base
bothify, disable_enforce_available_locales, fetch, fetch_all, flexible, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, resolve, respond_to_missing?, sample, shuffle, translate, unique, with_locale
Class Method Details
.hero ⇒ Object
5
6
7
|
# File 'lib/faker/default/dc_comics.rb', line 5
def self.hero
fetch('dc_comics.hero')
end
|
.heroine ⇒ Object
9
10
11
|
# File 'lib/faker/default/dc_comics.rb', line 9
def self.heroine
fetch('dc_comics.heroine')
end
|
.name ⇒ Object
17
18
19
|
# File 'lib/faker/default/dc_comics.rb', line 17
def self.name
fetch('dc_comics.name')
end
|
.title ⇒ Object
21
22
23
|
# File 'lib/faker/default/dc_comics.rb', line 21
def self.title
fetch('dc_comics.title')
end
|
.villain ⇒ Object
13
14
15
|
# File 'lib/faker/default/dc_comics.rb', line 13
def self.villain
fetch('dc_comics.villain')
end
|