Sha256: 03dd0e1edcb1e7de9c44dd58a65f583bd2f7bccc64f52bcaf52e0a7a445c4a62
Contents?: true
Size: 251 Bytes
Versions: 16
Compression:
Stored size: 251 Bytes
Contents
# frozen_string_literal: false require 'rubygems/optparse/lib/optparse' require 'time' Gem::OptionParser.accept(Time) do |s,| begin (Time.httpdate(s) rescue Time.parse(s)) if s rescue raise Gem::OptionParser::InvalidArgument, s end end
Version data entries
16 entries across 16 versions & 1 rubygems