module MR::FakeRecord::Persistence::CurrentTime

Public Class Methods

new() click to toggle source
# File lib/mr/fake_record/persistence.rb, line 105
def self.new
  if ActiveRecord::Base.default_timezone == :utc
    Time.now.utc
  else
    Time.now
  end
end