Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source
Show
Ignore:
Timestamp:
01/02/08 09:08:14 (2 years ago)
Author:
bitsweat
Message:

Ruby 1.9 compat: add #raise to AS::BasicObject, fixup Duration argument error. Closes #10594.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/activesupport/lib/active_support/duration.rb

    r8412 r8523  
    8383            end 
    8484          else 
    85             raise ArgumentError, "expected a time or date, got #{time.inspect}" 
     85            raise ::ArgumentError, "expected a time or date, got #{time.inspect}" 
    8686          end 
    8787        end