-
Notifications
You must be signed in to change notification settings - Fork 3.2k
/
fullmetal_alchemist_brotherhood.rb
51 lines (47 loc) · 1.32 KB
/
fullmetal_alchemist_brotherhood.rb
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
# frozen_string_literal: true
module Faker
class JapaneseMedia
class FullmetalAlchemistBrotherhood < Base
class << self
##
# Produces a character from FullmetalAlchemistBrotherhood.
#
# @return [String]
#
# @example
# Faker::JapaneseMedia::FullmetalAlchemistBrotherhood.character #=> "Edward Elric"
#
# @faker.version next
def character
fetch('fullmetal_alchemist_brotherhood.characters')
end
##
# Produces a cities from FullmetalAlchemistBrotherhood.
#
# @return [String]
#
# @example
# Faker::JapaneseMedia::FullmetalAlchemistBrotherhood.city #=> "Central City"
#
# @faker.version next
def city
fetch('fullmetal_alchemist_brotherhood.cities')
end
##
# Produces a country from FullmetalAlchemistBrotherhood.
#
# @return [String]
#
# @example
# Faker::JapaneseMedia::FullmetalAlchemistBrotherhood.country #=> "Xing"
#
# @faker.version next
def country
fetch('fullmetal_alchemist_brotherhood.countries')
end
end
end
include Faker::Deprecator
deprecate_generator('FmaBrotherhood', FullmetalAlchemistBrotherhood)
end
end