Sha256: 8b771a69de8da2190ca84712ba05e06b9fd4996ef2a870e16a9675edfdae72dc

Contents?: true

Size: 364 Bytes

Versions: 4

Compression:

Stored size: 364 Bytes

Contents

#:invisible:
$:.unshift "../lib"
require 'order' #<=
#:visible:
class Time
  include XML::Mapping

  numeric_node :year, "year"
  numeric_node :month, "month"
  numeric_node :day, "mday"
  numeric_node :hour, "hours"
  numeric_node :min, "minutes"
  numeric_node :sec, "seconds"
end


nowxml=Time.now.save_to_xml #<=
#:invisible_retval:
nowxml.write($stdout,2)#<=

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
xml-mapping-0.9.1 examples/time_augm.intin.rb
pdf-labels-1.0.0 vendor/xml-mapping/examples/time_augm.intin.rb
xml-mapping-0.8.1 examples/time_augm.intin.rb
xml-mapping-0.8 examples/time_augm.intin.rb