Sha256: b10893c8c7069afdd106cfe3dc8b9885f8d426a61fc73886aac249f45f06e4c9

Contents?: true

Size: 535 Bytes

Versions: 1

Compression:

Stored size: 535 Bytes

Contents

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
    attr_accessor :user_class
    attr_accessor :timeout
  end
  self.audit = true
  self.user_name = :name
  self.timeout = 15
  self.user_class = 'User'

  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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blazer-0.0.5 lib/blazer.rb