Skip to content

Commit

Permalink
Add missing public method doc to TimeWithZone.name
Browse files Browse the repository at this point in the history
  • Loading branch information
robzolkos committed May 6, 2012
1 parent f9646c8 commit 9b854cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion activesupport/lib/active_support/time_with_zone.rb
Expand Up @@ -35,8 +35,10 @@ module ActiveSupport
# t.is_a?(ActiveSupport::TimeWithZone) # => true # t.is_a?(ActiveSupport::TimeWithZone) # => true
# #
class TimeWithZone class TimeWithZone

# Report class name as 'Time' to thwart type checking
def self.name def self.name
'Time' # Report class name as 'Time' to thwart type checking 'Time'
end end


include Comparable include Comparable
Expand Down

0 comments on commit 9b854cc

Please sign in to comment.