Skip to content

Commit

Permalink
Cleanup books. Add Fantasy::Tolkien to README. (#2154)
Browse files Browse the repository at this point in the history
* Add fantasy/tolkien to README and docs

* Reformat book.yml

* Reformat dune.yml

* Reformat lovecraft.yml
  • Loading branch information
Matt Kelly committed Mar 20, 2021
1 parent 3fa147d commit 64baa40
Show file tree
Hide file tree
Showing 5 changed files with 848 additions and 406 deletions.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -27,6 +27,7 @@ development.
- [Default](#default)
- [Blockchain](#blockchain)
- [Books](#books)
- [Fantasy](#fantasy)
- [Creature](#creature)
- [Games](#games)
- [Japanese Media](#japanese-media)
Expand Down Expand Up @@ -227,6 +228,9 @@ gem 'faker', :git => 'https://github.com/faker-ruby/faker.git', :branch => 'mast
- [Faker::Books::Dune](doc/books/dune.md)
- [Faker::Books::Lovecraft](doc/books/lovecraft.md)

### Fantasy
- [Faker::Fantasy::Tokien](doc/fantasy/tolkien.md)

### Creature
- [Faker::Creature::Animal](doc/creature/animal.md)
- [Faker::Creature::Cat](doc/creature/cat.md)
Expand Down
15 changes: 15 additions & 0 deletions doc/fantasy/tolkien.md
@@ -0,0 +1,15 @@
# Faker::Fantasy::Tolkien

```ruby
# Any character from the entire Tolkien legendarium
Faker::Fantasy::Tolkien.character #=> "Bungo Baggins"

# Any location from the entire Tolkien legendarium
Faker::Fantasy::Tolkien.location #=> "Minas Morgul"

# Any poem title from the entire Tolkien legendarium
Faker::Fantasy::Tolkien.poem #=> "Fifteen birds in five fir trees"

# Any race from the entire Tolkien legendarium
Faker::Fantasy::Tolkien.race #=> "Ents"
```

0 comments on commit 64baa40

Please sign in to comment.