Sha256: 8cade749f210898f6f2977c196b018c8cbb050c9f72838b8321c7522bfb55c11
Contents?: true
Size: 241 Bytes
Versions: 66
Compression:
Stored size: 241 Bytes
Contents
# frozen_string_literal: false require_relative '../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
66 entries across 66 versions & 1 rubygems