Permalink
Browse files

Add missing public method doc to TimeWithZone.name

  • Loading branch information...
robzolkos committed May 6, 2012
1 parent f9646c8 commit 9b854ccd77498e5c0f30912596737f0b8efa4654
Showing with 3 additions and 1 deletion.
  1. +3 −1 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

0 comments on commit 9b854cc

Please sign in to comment.