Project

randomiser

0.0
No commit activity in last 3 years
No release in over 3 years
Pass the character count you need and this gem genereates it.
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.6
~> 10.0
>= 0
 Project Readme

Randomiser

Randomiser helps you in generating a random string like - [only alphabets/ alphanumeric/ with time].

The default string length generated is 10. The desired count can be passed as an argument for the related methods

Generating a string with time, may be useful in scenarios like generating a random string and should be unique at all timehe related methods

##Supports

ruby >= 1.9.x

Installation

Add this line to your application's Gemfile:

gem 'randomiser'

And then execute:

$ bundle

Or install it yourself as:

$ gem install randomiser

Usage

Randomiser::GenerateRandomString.alphabetsOnly

Randomiser::GenerateRandomString.alphaNumeric

Randomiser::GenerateRandomString.with_time("alphaNumeric", count)

Randomiser::GenerateRandomString.with_time("alphabetsOnly", count)

Note: Charecter count is optional. Default string length is 10, and 20 (with time)

Author

karthik D S https://github.com/Karthikds

Contributing

  1. Fork it ( https://github.com/[my-github-username]/randomiser/fork )
  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 a new Pull Request

##License

Randomiser is released under the MIT License.