class Microscope::Scope::DateScope

Public Class Methods

new(*args) click to toggle source
Calls superclass method
# File lib/microscope/scope/date_scope.rb, line 4
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