Remove un-needed to_s method on DateTime
This commit is contained in:
parent
d11b0f182c
commit
dcbcc5123a
1 changed files with 0 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue