Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A ruby gem that generates random strings

Resources

Code of conduct

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages