Class: Time
- Inherits:
-
Object
- Object
- Time
- Defined in:
- lib/ruby-xml-mapper/basic_containers.rb
Class Method Summary collapse
Class Method Details
.new_from_xml_attr(attr) ⇒ Object
111 112 113 |
# File 'lib/ruby-xml-mapper/basic_containers.rb', line 111 def self.new_from_xml_attr attr parse(attr.value) end |
.new_from_xml_node(node) ⇒ Object
115 116 117 |
# File 'lib/ruby-xml-mapper/basic_containers.rb', line 115 def self.new_from_xml_node node parse(node.content) end |