File: harry_potter.md

package info (click to toggle)
ruby-faker 2.21.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,076 kB
  • sloc: ruby: 19,088; makefile: 6
file content (17 lines) | stat: -rw-r--r-- 385 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Faker::HarryPotter

Available since version 1.7.3.

```ruby
Faker::HarryPotter.character #=> "Harry Potter"

Faker::HarryPotter.location #=> "Hogwarts"

Faker::HarryPotter.quote #=> "I solemnly swear that I am up to no good."

Faker::HarryPotter.book #=> "Harry Potter and the Chamber of Secrets"

Faker::HarryPotter.house #=> "Gryffindor"

Faker::HarryPotter.spell #=> "Reparo"
```