Class: Date

Inherits:
Object
  • Object
show all
Defined in:
lib/xommelier/core_ext/date.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_xommelier(value) ⇒ Object



11
12
13
# File 'lib/xommelier/core_ext/date.rb', line 11

def self.from_xommelier(value)
  xmlschema(value)
end

Instance Method Details

#to_xommelierObject



15
16
17
# File 'lib/xommelier/core_ext/date.rb', line 15

def to_xommelier
  xmlschema
end