Sha256: be4346d484d8521faaa7da4b3d2133883f67feb51487b4e80b3b0f9adc8b100d
Contents?: true
Size: 458 Bytes
Versions: 2
Compression:
Stored size: 458 Bytes
Contents
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 => <time> ... </> nowxml.write($stdout,2) <time> <year>2005</year> <month>12</month> <mday>7</mday> <hours>20</hours> <minutes>52</minutes> <seconds>4</seconds> </time>
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
pdf-labels-1.0.0 | vendor/xml-mapping/examples/time_augm.intout |
xml-mapping-0.8.1 | examples/time_augm.intout |