Skip to content
Browse files

ruby 1.8 ActiveSupport BasicObject no longer available

  • Loading branch information...
1 parent 5681f79 commit e734f001d33d0db5fb21ede1824314be17858cd2 @vatrai vatrai committed
Showing with 0 additions and 1 deletion.
  1. +0 −1 activesupport/lib/active_support/duration.rb
View
1 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

0 comments on commit e734f00

Please sign in to comment.
Something went wrong with that request. Please try again.