Remove un-needed to_s method on DateTime

This commit is contained in:
Michael Mitchell + Chris Stringer 2013-03-29 14:58:15 -07:00 committed by Jessica Lynn Suttles
parent d11b0f182c
commit dcbcc5123a

View file

@ -1,9 +1,6 @@
module Microformats2
module Property
class DateTime < Foundation
def to_s
@to_s ||= value_class_pattern || element_value || text_value
end
def value
::DateTime.parse(to_s)