class Todo::Todo

Defined in:

todo/todo.cr

Constant Summary

DATE_MATCH_1 = /^(?:(\d+)#{DATE_SEP})?(\d+)#{DATE_SEP}(\d+)$/

DATE_MATCH_1 = Regex.new "(?:(\d+)#{DATE_SEP})?(?:(\d+)#{DATE_SEP})(?:(\d+))"

DATE_MATCH_2 = /^d\+(\d+)$/i
DATE_SEP = "(?:[/-])"

Constructors

Instance Method Summary

Constructor Detail

def self.new(msg : String, date : String | Nil) #

[View source]
def self.new(s : String) #

[View source]

Instance Method Detail

def date=(value : String) #

[View source]