diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-11-23 16:08:00 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-11-23 16:08:00 -0800 |
commit | 1250faa858c825c7cb1e673dbc476b1629b154b2 (patch) | |
tree | 0678b923db3c7d273f50d0a48ddaa5d8fb085f2f /activesupport/lib/active_support/time_with_zone.rb | |
parent | 0eca8111f26efe8f116a18cb86631d08f66e09d9 (diff) | |
download | rails-1250faa858c825c7cb1e673dbc476b1629b154b2.tar.gz rails-1250faa858c825c7cb1e673dbc476b1629b154b2.tar.bz2 rails-1250faa858c825c7cb1e673dbc476b1629b154b2.zip |
Lazy-require tzinfo for TimeZone
Diffstat (limited to 'activesupport/lib/active_support/time_with_zone.rb')
-rw-r--r-- | activesupport/lib/active_support/time_with_zone.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/time_with_zone.rb b/activesupport/lib/active_support/time_with_zone.rb index a02cd81f72..9a2d283b30 100644 --- a/activesupport/lib/active_support/time_with_zone.rb +++ b/activesupport/lib/active_support/time_with_zone.rb @@ -1,4 +1,5 @@ require 'tzinfo' + module ActiveSupport # A Time-like class that can represent a time in any time zone. Necessary because standard Ruby Time instances are # limited to UTC and the system's <tt>ENV['TZ']</tt> zone. |