Sha256: fbd6d0605f981f4a480792a6ff8ac94fa5ca9bad94a2f40381e3b3a844ce4a52

Contents?: true

Size: 150 Bytes

Versions: 9

Compression:

Stored size: 150 Bytes

Contents

motion_require '../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

9 entries across 9 versions & 1 rubygems

Version Path
motion-support-1.1.0 motion/core_ext/date/acts_like.rb
motion-support-1.0.0 motion/core_ext/date/acts_like.rb
motion-support-0.3.0 motion/core_ext/date/acts_like.rb
motion-support-0.2.6 motion/core_ext/date/acts_like.rb
motion-support-0.2.5 motion/core_ext/date/acts_like.rb
motion-support-0.2.4 motion/core_ext/date/acts_like.rb
motion-support-0.2.3 motion/core_ext/date/acts_like.rb
motion-support-0.2.2 motion/core_ext/date/acts_like.rb
motion-support-0.2.0 motion/core_ext/date/acts_like.rb