From 9b854ccd77498e5c0f30912596737f0b8efa4654 Mon Sep 17 00:00:00 2001 From: Rob Zolkos Date: Sun, 6 May 2012 21:04:02 +1000 Subject: Add missing public method doc to TimeWithZone.name --- activesupport/lib/active_support/time_with_zone.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'activesupport/lib/active_support') 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 -- cgit v1.2.3