Class: Writeexcel::Worksheet::DataValidations

Inherits:
Array
  • Object
show all
Defined in:
lib/writeexcel/data_validations.rb

Instance Method Summary collapse

Instance Method Details

#count_dv_recordObject

the count of the DV records to follow.

Note, this could be wrapped into store_dv() but we may require separate handling of the object id at a later stage.


13
14
15
16
17
# File 'lib/writeexcel/data_validations.rb', line 13

def count_dv_record   #:nodoc:
  return if empty?

  dval_record(-1, size)  # obj_id = -1
end