File: biff8.rb

package info (click to toggle)
ruby-spreadsheet 1.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,964 kB
  • sloc: ruby: 6,943; makefile: 10
file content (19 lines) | stat: -rw-r--r-- 455 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
module Spreadsheet
  module Excel
    module Internals
##
# Binary Formats and other configurations internal to Biff8. This Module is
# likely to be expanded as Support for older Versions of Excel grows and more
# Binary formats are moved here for disambiguation.
module Biff8
  BINARY_FORMATS = {
    :bof        => 'v4V2',
    :dimensions => 'V2v2x2',
  }
  def binfmt key # :nodoc:
    BINARY_FORMATS.fetch key do super end
  end
end
    end
  end
end