Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alxndr/fake_british_toponym
Ruby gem that generates fake British-sounding place names.
https://github.com/alxndr/fake_british_toponym
Last synced: about 1 month ago
JSON representation
Ruby gem that generates fake British-sounding place names.
- Host: GitHub
- URL: https://github.com/alxndr/fake_british_toponym
- Owner: alxndr
- License: mit
- Created: 2014-10-09T18:02:44.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-09T22:58:25.000Z (almost 9 years ago)
- Last Synced: 2024-11-28T21:48:56.673Z (about 1 month ago)
- Language: Ruby
- Homepage:
- Size: 22.5 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# FakeBritishToponym
[![Build Status](https://travis-ci.org/alxndr/fake_british_toponym.svg?branch=master)](https://travis-ci.org/alxndr/fake_british_toponym)
[![Dependency Status](https://gemnasium.com/alxndr/fake_british_toponym.svg)](https://gemnasium.com/alxndr/fake_british_toponym)
[![Code Climate](https://codeclimate.com/github/alxndr/fake_british_toponym/badges/gpa.svg)](https://codeclimate.com/github/alxndr/fake_british_toponym)
[![Test Coverage](https://codeclimate.com/github/alxndr/fake_british_toponym/badges/coverage.svg)](https://codeclimate.com/github/alxndr/fake_british_toponym)
[![Documentation coverage](http://inch-ci.org/github/alxndr/fake_british_toponym.svg?branch=master)](http://inch-ci.org/github/alxndr/fake_british_toponym)Generate names of places that sound sorta British.
## Installation
Add this line to your application's Gemfile:
gem "fake_british_toponym"
And then execute:
$ bundle
Or install it yourself as:
$ gem install fake_british_toponym
## Usage
$ pry
[0] main » require "fake_british_toponym"
=> true
[0] main » Array.new(5) { FakeBritishToponym.new }
=> ["Abercastercesholm",
"Lymekirktunforth",
"South Gloutonbeck",
"Intonwich",
"Port Shrewsbeckhamp"]
[0] main » FakeBritishToponym.new(min_syllables: 5)
=> "Lancotherglennock Castle"...that's all, folks!
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request