Class: Faker::HarryPotter

Inherits:
Object
  • Object
show all
Extended by:
Gem::Deprecate
Defined in:
lib/faker/deprecate/harry_potter.rb

Class Method Summary collapse

Class Method Details

.bookObject



20
21
22
# File 'lib/faker/deprecate/harry_potter.rb', line 20

def book
  Faker::Movies::HarryPotter.book
end

.characterObject



8
9
10
# File 'lib/faker/deprecate/harry_potter.rb', line 8

def character
  Faker::Movies::HarryPotter.character
end

.houseObject



24
25
26
# File 'lib/faker/deprecate/harry_potter.rb', line 24

def house
  Faker::Movies::HarryPotter.house
end

.locationObject



12
13
14
# File 'lib/faker/deprecate/harry_potter.rb', line 12

def location
  Faker::Movies::HarryPotter.location
end

.quoteObject



16
17
18
# File 'lib/faker/deprecate/harry_potter.rb', line 16

def quote
  Faker::Movies::HarryPotter.quote
end

.spellObject



28
29
30
# File 'lib/faker/deprecate/harry_potter.rb', line 28

def spell
  Faker::Movies::HarryPotter.spell
end