Methods
Public Class methods
[ show source ]
# File lib/texp/every_day.rb, line 21
21: def parse_callback(stack)
22: stack.push TExp::EveryDay.new
23: end
Public Instance methods
Encode the temporal expression into codes.
[ show source ]
# File lib/texp/every_day.rb, line 16
16: def encode(codes)
17: codes << encoding_token
18: end
Is date included in the temporal expression.
[ show source ]
# File lib/texp/every_day.rb, line 6 6: def includes?(date) 7: true 8: end
Human readable version of the temporal expression.
[ show source ]
# File lib/texp/every_day.rb, line 11
11: def inspect
12: "every day"
13: end