Sha256: 5e3366194e2ce9cd6ad7746bbdec07da11c0ebce748575420807c59a342a8518

Contents?: true

Size: 197 Bytes

Versions: 10

Compression:

Stored size: 197 Bytes

Contents

module Timely
  module DateTime
    def on_date(date)
      self.change(:year => date.year, :month => date.month, :day => date.day)
    end
  end
end

class DateTime
  include Timely::DateTime
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
timely-0.5.0 lib/timely/date_time.rb
timely-0.4.2 lib/timely/date_time.rb
timely-0.4.1 lib/timely/date_time.rb
timely-0.4.0 lib/timely/date_time.rb
timely-0.3.4 lib/timely/date_time.rb
timely-0.3.2 lib/timely/date_time.rb
timely-0.3.1 lib/timely/date_time.rb
timely-0.3.0 lib/timely/date_time.rb
timely-0.1.0 lib/timely/date_time.rb
timely-0.0.2 lib/timely/date_time.rb