Sha256: 834ccf70d38999a03186fd1d742265aa982b7d503e1face8d1056de8aebb3417
Contents?: true
Size: 331 Bytes
Versions: 5
Compression:
Stored size: 331 Bytes
Contents
module Microscope class Scope class DateScope < DatetimeScope def initialize(*args) super @now = 'Date.today' @now_suffix = '_today' @specific_suffix = '_on' @cropped_field_regex = /_on$/ @formatted_time = 'time.try(:strftime, \'%Y-%m-%d\')' end end end end
Version data entries
5 entries across 5 versions & 1 rubygems