Sha256: 66e62e347f3a7faf9830c6f9e41bc5ed3a2cf676d109db78b94e9010161a5e81
Contents?: true
Size: 200 Bytes
Versions: 9
Compression:
Stored size: 200 Bytes
Contents
require 'timeliness' module Natour module DateUtils module_function def parse(*args) args.map { |arg| Timeliness.parse(arg.to_s[/^(\d{4}-\d{2}-\d{2})/])&.to_date } end end end
Version data entries
9 entries across 9 versions & 1 rubygems