From 058faf2581970fa18c314ad07f5658adeca32c69 Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Sun, 27 Nov 2011 22:08:55 +0900 Subject: update to README --- doc/Axlsx/ContentType.html | 60 ++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 34 deletions(-) (limited to 'doc/Axlsx/ContentType.html') diff --git a/doc/Axlsx/ContentType.html b/doc/Axlsx/ContentType.html index 70bd847c..d89927b6 100644 --- a/doc/Axlsx/ContentType.html +++ b/doc/Axlsx/ContentType.html @@ -96,10 +96,9 @@

Overview

-

-ContentTypes used in the package. This is automatcially managed by the -package package. -

+ +

ContentTypes used in the package. This is automatcially managed by the +package package.

@@ -150,9 +149,8 @@ package package. -

-A new instance of ContentType. -

+
+

A new instance of ContentType.

@@ -174,9 +172,8 @@ A new instance of ContentType. -

-Generates the xml document for [Content_Types].xml. -

+
+

Generates the xml document for [Content_Types].xml.

@@ -202,9 +199,8 @@ Generates the xml document for [Content_Types].xml.

-

-A new instance of ContentType -

+ +

A new instance of ContentType

@@ -225,10 +221,9 @@ A new instance of ContentType
# File 'lib/axlsx/content_type/content_type.rb', line 8
 
-def initialize
-  super [Override, Default]
-end
-
+def initialize + super [Override, Default] +end @@ -260,9 +255,8 @@ A new instance of ContentType

-

-Generates the xml document for [Content_Types].xml -

+ +

Generates the xml document for [Content_Types].xml

@@ -280,9 +274,8 @@ Generates the xml document for [Content_Types].xml — -

-The document as a string. -

+
+

The document as a string.

@@ -307,15 +300,14 @@ The document as a string.
# File 'lib/axlsx/content_type/content_type.rb', line 14
 
-def to_xml()
-  builder = Nokogiri::XML::Builder.new(:encoding => ENCODING) do |xml|
-    xml.Types(:xmlns => Axlsx::XML_NS_T) {
-      each { |type| type.to_xml(xml) }
-    }
-  end
-  builder.to_xml
-end
-
+def to_xml() + builder = Nokogiri::XML::Builder.new(:encoding => ENCODING) do |xml| + xml.Types(:xmlns => Axlsx::XML_NS_T) { + each { |type| type.to_xml(xml) } + } + end + builder.to_xml +end @@ -326,9 +318,9 @@ The document as a string.
-- cgit v1.2.3