summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/util/serialized_attributes.rb
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-11-25 14:49:36 +0900
committerRandy Morgan <[email protected]>2012-11-25 14:49:36 +0900
commit0a25dbeb32e20a3e8557e9dc32ea380cc543ae2a (patch)
tree801c1f8e3ed59613357a32a805d22920758913ca /lib/axlsx/util/serialized_attributes.rb
parent727f2ca539ca0dadb72e0982256284736cc44076 (diff)
downloadcaxlsx-0a25dbeb32e20a3e8557e9dc32ea380cc543ae2a.tar.gz
caxlsx-0a25dbeb32e20a3e8557e9dc32ea380cc543ae2a.zip
Updated readme and docs for pre 1.3.4 release
Diffstat (limited to 'lib/axlsx/util/serialized_attributes.rb')
-rw-r--r--lib/axlsx/util/serialized_attributes.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/axlsx/util/serialized_attributes.rb b/lib/axlsx/util/serialized_attributes.rb
index 30fcfaaa..5519f843 100644
--- a/lib/axlsx/util/serialized_attributes.rb
+++ b/lib/axlsx/util/serialized_attributes.rb
@@ -22,10 +22,12 @@ module Axlsx
@xml_attributes
end
+ # This helper registers the attributes that will be formatted as elements.
def serializable_element_attributes(*symbols)
@xml_element_attributes = symbols
end
+ # attr reader for element attributes
def xml_element_attributes
@xml_element_attributes
end