Sha256: a78878fc2fcc7246baf5f2f81b2aff22b7dc37b2d34a3e4c2c5dcf08d86333de
Contents?: true
Size: 301 Bytes
Versions: 3
Compression:
Stored size: 301 Bytes
Contents
require 'date' module Pact module Generator # DateTime provides the time generator which will give the current date time in the defined format class DateTime < Date def type 'DateTime' end def default_format 'yyyy-MM-dd HH:mm' end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pact-support-1.21.2 | lib/pact/generator/datetime.rb |
pact-support-1.21.1 | lib/pact/generator/datetime.rb |
pact-support-1.21.0 | lib/pact/generator/datetime.rb |