Module: Golden::AttributeAccessors

Defined in:
lib/golden/attribute_accessors.rb

Class Method Summary collapse

Class Method Details

.default_zoneObject



11
12
13
14
15
# File 'lib/golden/attribute_accessors.rb', line 11

def default_zone
  return ::Rails.application.config.time_zone if ::Object.const_defined? 'Rails'

  'UTC'
end