Skip to content

SixArm/sixarm_ruby_date_stamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SixArm.com → Ruby →
Date.stamp method for ISO RFC date stamp

Gem Version Build Status Code Climate

Introduction

Provides datestamp methods Date.stamp and Date#stamp

For docs go to http://sixarm.com/sixarm_ruby_date_stamp/doc

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_stamp

Gemfile

To add this gem to your Gemfile:

gem 'sixarm_ruby_date_stamp'

Require

To require the gem in your code:

require 'sixarm_ruby_date_stamp'

Examples

puts Date.stamp  #=> "2010-12-31"
puts Date.today.stamp  #=> "2010-12-31"

About

SixArm.com » Ruby » Date.stamp method for ISO RFC date stamp

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages