Skip to content

Commit

Permalink
Added dragons to the Game of Throne universe. (#729)
Browse files Browse the repository at this point in the history
  • Loading branch information
archbloom authored and stympy committed Dec 17, 2016
1 parent 7775a29 commit 16891ac
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -892,6 +892,8 @@ Faker::GameOfThrones.character #=> "Tyrion Lannister"
Faker::GameOfThrones.house #=> "Stark"

Faker::GameOfThrones.city #=> "Lannisport"

Faker::GameOfThrones.dragon #=> "Drogon"
```

###Faker::Pokemon
Expand Down
4 changes: 4 additions & 0 deletions lib/faker/game_of_thrones.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ def house
def city
fetch('game_of_thrones.cities')
end

def dragon
fetch('game_of_thrones.dragons')
end
end
end
end
Loading

0 comments on commit 16891ac

Please sign in to comment.