Sha256: 8b33ab0fa1cb361017c72b28233967924075e7e44ae303864e52ebe22a6dbd96

Contents?: true

Size: 149 Bytes

Versions: 6

Compression:

Stored size: 149 Bytes

Contents

require '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

6 entries across 6 versions & 1 rubygems

Version Path
core_ext-0.0.6 lib/core_ext/date/acts_like.rb
core_ext-0.0.5 lib/core_ext/date/acts_like.rb
core_ext-0.0.4 lib/core_ext/date/acts_like.rb
core_ext-0.0.3 lib/core_ext/date/acts_like.rb
core_ext-0.0.2 lib/core_ext/date/acts_like.rb
core_ext-0.0.1 lib/core_ext/date/acts_like.rb