Project

rgn

0.0
No commit activity in last 3 years
No release in over 3 years
Used to create random names and allow users to flag/disabled specific usernames.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.8
~> 10.0
 Project Readme

https://rubygems.org/gems/rgn

Rgn

RGN short for Random generated name, is a ruby gem to allows users to automate random strings in their ruby apps.

Installation

Add this line to your application's Gemfile:

gem 'rgn'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install rgn

Usage

If you're just developing a non-rails app in ruby, then just import the following code inside your file: require 'rgn'

How to use

  • Input require 'rgn' at the beginning of the ruby file.
  • Input include Rgn after the require statement.
  • Next, declare a variable to contain generator function. For example, randomStr = generateName
    Then enter: puts #{randomStr} or puts randomStr to generate random string.