1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

fix warnings in Ruby 2.0

This commit is contained in:
Aaron Patterson 2012-11-05 18:41:18 -08:00
parent 640bec5111
commit 26702a6d34
2 changed files with 4 additions and 0 deletions

View file

@ -8,6 +8,8 @@ require 'active_support/core_ext/date_and_time/calculations'
class Date class Date
include DateAndTime::Calculations include DateAndTime::Calculations
@beginning_of_week_default = nil
class << self class << self
attr_accessor :beginning_of_week_default attr_accessor :beginning_of_week_default

View file

@ -1,6 +1,8 @@
require 'active_support/time_with_zone' require 'active_support/time_with_zone'
class Time class Time
@zone_default = nil
class << self class << self
attr_accessor :zone_default attr_accessor :zone_default