Skip to content

Generates random string from a given pattern

Notifications You must be signed in to change notification settings

installero/pattern_string_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pattern String Generator

When you just need to add some randomness to your messages.

Installation

gem install pattern_string_generator

or add to your Gemfile

gem 'pattern_string_generator'

Usage

> pattern = '(Hello|Hi), World!'.as_pattern

> pattern.to_s
 => "Hi, World!"

> pattern.to_s
 => "Hello, World!"

Authors

Eugene Zolotarev, Vadim Venediktov

About

Generates random string from a given pattern

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages