Sha256: 1edde8fab44fc9526bcf5348428d13c93df54dd3d1e630da56418ae3e8d68b7f
Contents?: true
Size: 188 Bytes
Versions: 84
Compression:
Stored size: 188 Bytes
Contents
require 'optparse' require 'time' OptionParser.accept(Time) do |s,| begin (Time.httpdate(s) rescue Time.parse(s)) if s rescue raise OptionParser::InvalidArgument, s end end
Version data entries
84 entries across 56 versions & 7 rubygems