0.0
No release in over 3 years
Low commit activity in last 3 years
Generate memorable random names to use in your apps or anywhere else.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

>= 0
>= 0
 Project Readme

HaikunatorRu

Gem Version

Generate Heroku-like memorable random names to use in your apps or anywhere else.

Installation

Add this line to your application's Gemfile:

gem 'haikunator_ru'

And then execute:

$ bundle

Or install it yourself as:

$ gem install haikunator_ru

Usage

HaikunatorRu is pretty simple. There is nothing to configure and it only has a single method, .haikunate:

HaikunatorRu.haikunate # => "грубая-снежинка-1142"

# Token range
HaikunatorRu.haikunate(100) # => "безымянная-звезда-13"

# Don't include the token
HaikunatorRu.haikunate(0) # => "длинный-цветок"

# Use a different delimiter
HaikunatorRu.haikunate(9999, '.') # => "свежий.лист.6743"

# No token, no delimiter
HaikunatorRu.haikunate(0, ' ') # => "зелёный огонь"

Contributing

Everyone is encouraged to help improve this project.