aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorVishnu Atrai <me@vishnuatrai.com>2011-12-30 23:45:57 +0530
committerVishnu Atrai <me@vishnuatrai.com>2011-12-30 23:45:57 +0530
commite734f001d33d0db5fb21ede1824314be17858cd2 (patch)
tree6b0167eca70649045ff388fd440a7dbad9171970 /activesupport
parent5681f79f642c57397bf18d239a9aa1dbf71b0f24 (diff)
downloadrails-e734f001d33d0db5fb21ede1824314be17858cd2.tar.gz
rails-e734f001d33d0db5fb21ede1824314be17858cd2.tar.bz2
rails-e734f001d33d0db5fb21ede1824314be17858cd2.zip
ruby 1.8 ActiveSupport BasicObject no longer available
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/duration.rb1
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