summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/workbook/defined_name.rb
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-08-02 23:37:39 +0900
committerRandy Morgan <[email protected]>2012-08-02 23:37:39 +0900
commitacc890d52089dbf18ac3d56bace3a393d195eb9c (patch)
tree5b5cbfa33d0f1ff4e416eb8cac997d4f924142a9 /lib/axlsx/workbook/defined_name.rb
parentb6c50cde41d0ecbd51d56823c84b264523e32a34 (diff)
downloadcaxlsx-acc890d52089dbf18ac3d56bace3a393d195eb9c.tar.gz
caxlsx-acc890d52089dbf18ac3d56bace3a393d195eb9c.zip
hmm…. ditch red carpet and do some docs
Diffstat (limited to 'lib/axlsx/workbook/defined_name.rb')
-rw-r--r--lib/axlsx/workbook/defined_name.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/axlsx/workbook/defined_name.rb b/lib/axlsx/workbook/defined_name.rb
index ed4774e8..10a84b3c 100644
--- a/lib/axlsx/workbook/defined_name.rb
+++ b/lib/axlsx/workbook/defined_name.rb
@@ -102,10 +102,13 @@ module Axlsx
end
attr_reader :local_sheet_id
+ # The local sheet index (0-based)
+ # @param [Integer] value the unsinged integer index of the sheet this defined_name applies to.
def local_sheet_id=(value)
Axlsx::validate_unsigned_int(value)
@local_sheet_id = value
end
+
# string attributes that will be added when this class is evaluated
STRING_ATTRIBUTES = [:short_cut_key, :status_bar, :help, :description, :custom_menu, :comment]