Sha256: c3b793fa17fd136b86ca8505abab5124d972dc929689636e7fae83a12c778f31
Contents?: true
Size: 846 Bytes
Versions: 1
Compression:
Stored size: 846 Bytes
Contents
module RiCal module CoreExtensions #:nodoc: module Time #:nodoc: #- ©2009 Rick DeNatale #- All rights reserved. Refer to the file README.txt for the license # module Conversions # Return an RiCal::PropertyValue::DateTime representing the receiver def to_ri_cal_date_time_value RiCal::PropertyValue::DateTime.from_time(self) end alias_method :to_ri_cal_date_or_date_time_value, :to_ri_cal_date_time_value # Return the natural ri_cal_property for this object def to_ri_cal_property_value to_ri_cal_date_time_value end # Return a proxy to this object which will be interpreted as a floating time. def with_floating_timezone RiCal::TimeWithFloatingTimezone.new(self) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rubyredrick-ri_cal-0.0.2 | lib/ri_cal/core_extensions/time/conversions.rb |