-
Notifications
You must be signed in to change notification settings - Fork 3.2k
/
hitchhikers_guide_to_the_galaxy.rb
44 lines (35 loc) · 1.29 KB
/
hitchhikers_guide_to_the_galaxy.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
# frozen_string_literal: true
module Faker
class HitchhikersGuideToTheGalaxy
class << self
extend Gem::Deprecate
def character
Faker::Movies::HitchhikersGuideToTheGalaxy.character
end
def location
Faker::Movies::HitchhikersGuideToTheGalaxy.location
end
def marvin_quote
Faker::Movies::HitchhikersGuideToTheGalaxy.marvin_quote
end
def planet
Faker::Movies::HitchhikersGuideToTheGalaxy.planet
end
def quote
Faker::Movies::HitchhikersGuideToTheGalaxy.quote
end
def specie
Faker::Movies::HitchhikersGuideToTheGalaxy.specie
end
def starship
Faker::Movies::HitchhikersGuideToTheGalaxy.starship
end
deprecate :character, 'Faker::Movies::HitchhikersGuideToTheGalaxy.character', 2019, 01
deprecate :location, 'Faker::Movies::HitchhikersGuideToTheGalaxy.location', 2019, 01
deprecate :marvin_quote, 'Faker::Movies::HitchhikersGuideToTheGalaxy.marvin_quote', 2019, 01
deprecate :planet, 'Faker::Movies::HitchhikersGuideToTheGalaxy.planet', 2019, 01
deprecate :specie, 'Faker::Movies::HitchhikersGuideToTheGalaxy.specie', 2019, 01
deprecate :starship, 'Faker::Movies::HitchhikersGuideToTheGalaxy.starship', 2019, 01
end
end
end