Sha256: fb8f83102cf085a29d665c2a3035c44bd15d5dc87d51ab219564adc0f4e3e613
Contents?: true
Size: 232 Bytes
Versions: 8
Compression:
Stored size: 232 Bytes
Contents
# frozen_string_literal: true module TimeMatchSupport def localized_time_re(time_str) Regexp.new(Regexp.escape(localize(Time.zone.parse(time_str)))) end end RSpec.configure do |config| config.include TimeMatchSupport end
Version data entries
8 entries across 7 versions & 1 rubygems