summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/workbook/defined_names.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_names.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_names.rb')
-rw-r--r--lib/axlsx/workbook/defined_names.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/axlsx/workbook/defined_names.rb b/lib/axlsx/workbook/defined_names.rb
index 88a8b85f..fd7800a3 100644
--- a/lib/axlsx/workbook/defined_names.rb
+++ b/lib/axlsx/workbook/defined_names.rb
@@ -1,11 +1,15 @@
module Axlsx
-
+ # a simple types list of DefinedName objects
class DefinedNames < SimpleTypedList
+ # creates the DefinedNames object
def initialize
super DefinedName
end
+ # Serialize to xml
+ # @param [String] str
+ # @return [String]
def to_xml_string(str = '')
return if @list.empty?
str << "<definedNames>"