Sha256: f94b0a0c7c0134e0cb06f45dc9e7fe4749c58cda901b46ee6a78d210163f24d8
Contents?: true
Size: 411 Bytes
Versions: 3
Compression:
Stored size: 411 Bytes
Contents
class Workbook < BIFFWriter class Worksheets < Array attr_accessor :activesheet attr_writer :firstsheet def initialize @activesheet = nil @firstsheet = nil end def activesheet_index index(@activesheet) end def firstsheet_index index(@firstsheet) || 0 end def selected_count self.select { |sheet| sheet.selected? }.size end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
writeexcel-1.0.9 | lib/writeexcel/worksheets.rb |
writeexcel-1.0.8 | lib/writeexcel/worksheets.rb |
writeexcel-1.0.7 | lib/writeexcel/worksheets.rb |