Sha256: a6532baf20dcb89007118ebbf589d55b5c5e15be541ddc07caa7dd4bc25a0301
Contents?: true
Size: 450 Bytes
Versions: 25
Compression:
Stored size: 450 Bytes
Contents
class Workbook < BIFFWriter require 'writeexcel/properties' require 'writeexcel/helper' class Worksheets < Array attr_accessor :activesheet attr_writer :firstsheet def initialize @activesheet = 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
25 entries across 25 versions & 3 rubygems