module TimeRangeExtractor
Parse out time values from a string of text. Uses the provided date as the basis for the DateTime generation.
Constants
- VERSION
Public Class Methods
call(text, date: Date.current)
click to toggle source
# File lib/time_range_extractor.rb, line 14 def self.call(text, date: Date.current) Parser.new(text, date: date).call end