Sha256: d8d24cfbcf6b67e45e5c09fbc47a526dac6a4c4a4ef8a7abc95f3253168bfbeb

Contents?: true

Size: 164 Bytes

Versions: 509

Compression:

Stored size: 164 Bytes

Contents

require 'active_support/core_ext/object/acts_like'

class Date
  # Duck-types as a Date-like class. See Object#acts_like?.
  def acts_like_date?
    true
  end
end

Version data entries

509 entries across 457 versions & 45 rubygems

Version Path
activesupport-4.2.9.rc2 lib/active_support/core_ext/date/acts_like.rb
activesupport-5.0.4 lib/active_support/core_ext/date/acts_like.rb
activesupport-5.0.4.rc1 lib/active_support/core_ext/date/acts_like.rb
activesupport-4.2.9.rc1 lib/active_support/core_ext/date/acts_like.rb
activesupport-5.0.3 lib/active_support/core_ext/date/acts_like.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/activesupport-5.0.2/lib/active_support/core_ext/date/acts_like.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/activesupport-4.2.8/lib/active_support/core_ext/date/acts_like.rb
lazy_record-0.2.1 vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date/acts_like.rb
lazy_record-0.2.0 vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date/acts_like.rb
lazy_record-0.1.9 vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date/acts_like.rb
lazy_record-0.1.8 vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date/acts_like.rb
lazy_record-0.1.7 vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date/acts_like.rb
lazy_record-0.1.6 vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date/acts_like.rb
lazy_record-0.1.4 vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date/acts_like.rb
tdiary-5.0.4 vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date/acts_like.rb
mdg-1.0.1 vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/core_ext/date/acts_like.rb
lazy_record-0.1.3 vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date/acts_like.rb
lazy_record-0.1.2 vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date/acts_like.rb
lazy_record-0.1.1 vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date/acts_like.rb
lazy_record-0.1.0 vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date/acts_like.rb