diff options
author | Vishnu Atrai <me@vishnuatrai.com> | 2011-12-30 23:45:57 +0530 |
---|---|---|
committer | Vishnu Atrai <me@vishnuatrai.com> | 2011-12-30 23:45:57 +0530 |
commit | e734f001d33d0db5fb21ede1824314be17858cd2 (patch) | |
tree | 6b0167eca70649045ff388fd440a7dbad9171970 | |
parent | 5681f79f642c57397bf18d239a9aa1dbf71b0f24 (diff) | |
download | rails-e734f001d33d0db5fb21ede1824314be17858cd2.tar.gz rails-e734f001d33d0db5fb21ede1824314be17858cd2.tar.bz2 rails-e734f001d33d0db5fb21ede1824314be17858cd2.zip |
ruby 1.8 ActiveSupport BasicObject no longer available
-rw-r--r-- | activesupport/lib/active_support/duration.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/duration.rb b/activesupport/lib/active_support/duration.rb index 89b0923882..00c67a470d 100644 --- a/activesupport/lib/active_support/duration.rb +++ b/activesupport/lib/active_support/duration.rb @@ -10,7 +10,6 @@ module ActiveSupport # 1.month.ago # equivalent to Time.now.advance(:months => -1) class Duration < BasicObject attr_accessor :value, :parts - delegate :duplicable?, :to => :value # required when using ActiveSupport's BasicObject on 1.8 def initialize(value, parts) #:nodoc: @value, @parts = value, parts |