An open API service indexing awesome lists of open source software.

https://github.com/sixarm/sixarm_ruby_date_time_random

SixArm.com » Ruby » Date and Time #random methods
https://github.com/sixarm/sixarm_ruby_date_time_random

date datetime extensions gem random ruby time

Last synced: 10 months ago
JSON representation

SixArm.com » Ruby » Date and Time #random methods

Awesome Lists containing this project

README

          

# SixArm.com → Ruby →
Date and Time #random methods

[![Gem Version](https://badge.fury.io/rb/sixarm_ruby_date_time_random.svg)](http://badge.fury.io/rb/sixarm_ruby_date_time_random)
[![Build Status](https://travis-ci.org/SixArm/sixarm_ruby_date_time_random.png)](https://travis-ci.org/SixArm/sixarm_ruby_date_time_random)
[![Code Climate](https://api.codeclimate.com/v1/badges/e1d66263dfc8fc1303a8/maintainability)](https://codeclimate.com/github/SixArm/sixarm_ruby_date_time_random/maintainability)

* Git:
* Doc:
* Gem:
* Contact: Joel Parker Henderson,
* Project: [changes](CHANGES.md), [license](LICENSE.md), [contributing](CONTRIBUTING.md).

## Introduction

Generate random dates and times:

DateTime.random
Date.random
Time.random

The random range is +/- 10000 days.

For docs go to

Want to help? We're happy to get pull requests.

## Install

### Gem

To install this gem in your shell or terminal:

gem install sixarm_ruby_date_time_random

### Gemfile

To add this gem to your Gemfile:

gem 'sixarm_ruby_date_time_random'

### Require

To require the gem in your code:

require 'sixarm_ruby_date_time_random'