diff options
author | Rob Zolkos <robzolkos@gmail.com> | 2012-05-06 21:04:02 +1000 |
---|---|---|
committer | Rob Zolkos <robzolkos@gmail.com> | 2012-05-06 21:04:02 +1000 |
commit | 9b854ccd77498e5c0f30912596737f0b8efa4654 (patch) | |
tree | 5e2fb0aad745224b811e93ab9ef9c536a7aec3c7 /activesupport | |
parent | f9646c8a6312e8d2d5ecc5d35e6201a7f4fe00ba (diff) | |
download | rails-9b854ccd77498e5c0f30912596737f0b8efa4654.tar.gz rails-9b854ccd77498e5c0f30912596737f0b8efa4654.tar.bz2 rails-9b854ccd77498e5c0f30912596737f0b8efa4654.zip |
Add missing public method doc to TimeWithZone.name
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/time_with_zone.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/time_with_zone.rb b/activesupport/lib/active_support/time_with_zone.rb index 1cb71012ef..9d89e425fc 100644 --- a/activesupport/lib/active_support/time_with_zone.rb +++ b/activesupport/lib/active_support/time_with_zone.rb @@ -35,8 +35,10 @@ module ActiveSupport # t.is_a?(ActiveSupport::TimeWithZone) # => true # class TimeWithZone + + # Report class name as 'Time' to thwart type checking def self.name - 'Time' # Report class name as 'Time' to thwart type checking + 'Time' end include Comparable |