Sha256: 6f12e6ca699405f23a92aa1f2e6266bd1a3ade94fc37c2cb8a6d177cb9a9c14f
Contents?: true
Size: 514 Bytes
Versions: 5
Compression:
Stored size: 514 Bytes
Contents
module WWMD class VSUnit < VSClassHelpers attr_reader :dword attr_reader :word attr_reader :value def initialize(dword,word) @dword = dword @word = word @value = '' end def serialize stack = super stack << write_double(self.dword) stack << write_single(self.word) return stack end def to_xml xml = super xml.add_attribute("dword",self.dword.to_s) xml.add_attribute("word",self.word.to_s) xml end end end
Version data entries
5 entries across 5 versions & 1 rubygems