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
141 142 143 |
# File 'lib/ruby-xml-mapper/basic_containers.rb', line 141 def self.new_from_xml_attr attr parse(attr.value) end |
.new_from_xml_node(node) ⇒ Object
145 146 147 |
# File 'lib/ruby-xml-mapper/basic_containers.rb', line 145 def self.new_from_xml_node node parse(node.content) end |