# frozen_string_literal: true # String helpers class ::String ## ## Parse and test a condition ## ## @return [Boolean] whether test passed ## def parse_condition condition = dup time_rx = /(?[<>=]{1,2}|before|after) +(?