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:
parent
640bec5111
commit
26702a6d34
2 changed files with 4 additions and 0 deletions
|
@ -8,6 +8,8 @@ require 'active_support/core_ext/date_and_time/calculations'
|
|||
class Date
|
||||
include DateAndTime::Calculations
|
||||
|
||||
@beginning_of_week_default = nil
|
||||
|
||||
class << self
|
||||
attr_accessor :beginning_of_week_default
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
require 'active_support/time_with_zone'
|
||||
|
||||
class Time
|
||||
@zone_default = nil
|
||||
|
||||
class << self
|
||||
attr_accessor :zone_default
|
||||
|
||||
|
|
Loading…
Reference in a new issue