Module: Icalendar::DateProp
- Defined in:
- lib/icalendar/helpers.rb
Defined Under Namespace
Modules: ClassMethods
Constant Summary collapse
- DATE =
date = date-fullyear date-month date-mday date-fullyear = 4 DIGIT date-month = 2 DIGIT date-mday = 2 DIGIT
'(\d\d\d\d)(\d\d)(\d\d)'
- TIME =
time = time-hour [“:”] time-minute [“:”] time-second [time-secfrac] [time-zone] time-hour = 2 DIGIT time-minute = 2 DIGIT time-second = 2 DIGIT time-secfrac = “,” 1*DIGIT time-zone = “Z” / time-numzone time-numzome = sign time-hour [“:”] time-minute
TIME = '(\d\d)(\d\d)(\d\d)(Z)?'
'(\d\d)(\d\d)(\d\d)'
Class Method Summary collapse
-
.append_features(base) ⇒ Object
This method is called automatically when the module is mixed in.
Class Method Details
.append_features(base) ⇒ Object
This method is called automatically when the module is mixed in. I guess you have to do this to mixin class methods rather than instance methods.
30 31 32 33 |
# File 'lib/icalendar/helpers.rb', line 30 def self.append_features(base) super klass.extend(ClassMethods) end |