diff options
| author | randym <[email protected]> | 2017-04-01 18:45:54 +0900 |
|---|---|---|
| committer | randym <[email protected]> | 2017-04-01 18:45:54 +0900 |
| commit | 83e23982914e87bb4f2feb00c508580b8fa85cdb (patch) | |
| tree | 26f13718f0a2494a65c73a2c3d95146cc50b5bf4 /lib/axlsx/workbook/worksheet/protected_ranges.rb | |
| parent | b4bdbfa6a3da344a7bd5a1d433be6488435b94f8 (diff) | |
| download | caxlsx-83e23982914e87bb4f2feb00c508580b8fa85cdb.tar.gz caxlsx-83e23982914e87bb4f2feb00c508580b8fa85cdb.zip | |
chore(doc): document some members
Diffstat (limited to 'lib/axlsx/workbook/worksheet/protected_ranges.rb')
| -rw-r--r-- | lib/axlsx/workbook/worksheet/protected_ranges.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/axlsx/workbook/worksheet/protected_ranges.rb b/lib/axlsx/workbook/worksheet/protected_ranges.rb index 46a2546b..d274cf80 100644 --- a/lib/axlsx/workbook/worksheet/protected_ranges.rb +++ b/lib/axlsx/workbook/worksheet/protected_ranges.rb @@ -24,11 +24,14 @@ module Axlsx last end + # Serializes the protected ranges + # @param [String] str + # @return [String] def to_xml_string(str = '') return if empty? str << '<protectedRanges>' each { |range| range.to_xml_string(str) } - str << '</protectedRanges>' + str << '</protectedRanges>' end end end |
