Sha256: ebbd0cd2b8200aa5817ec599a42f9066af0e3559b7de89159f0f63f881434c8f
Contents?: true
Size: 366 Bytes
Versions: 4
Compression:
Stored size: 366 Bytes
Contents
# frozen_string_literal: true require 'time' require 'date' require 'active_support/time' require 'time_range_extractor/match_result' require 'time_range_extractor/parser' require 'time_range_extractor/version' module TimeRangeExtractor class Error < StandardError; end def self.call(text, date: Date.current) Parser.new(text, date: date).call end end
Version data entries
4 entries across 4 versions & 1 rubygems