Method: Axlsx::Storage#to_s
- Defined in:
- lib/axlsx/util/storage.rb
#to_s ⇒ String
Creates a byte string for this storage
19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/axlsx/util/storage.rb', line 19 def to_s data = [@name.concat(Array.new(32 - @name.size, 0)), @name_size, @type, @color, @left, @right, @child, @created, @modified, @sector, @size].flatten data.pack(PACKING) end |