12345678910111213141516171819 |
- require "csv"
- require "chartkick"
- require "blazer/version"
- require "blazer/engine"
- module Blazer
- class << self
- attr_accessor :audit
- attr_reader :time_zone
- attr_accessor :user_name
- end
- self.audit = true
- self.user_name = :name
- def self.time_zone=(time_zone)
- @time_zone = time_zone.is_a?(ActiveSupport::TimeZone) ? time_zone : ActiveSupport::TimeZone[time_zone.to_s]
- end
- self.time_zone = Time.zone
- end
|