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/Default.html | 102 +++++++++++++++++++++---------------------------- 1 file changed, 43 insertions(+), 59 deletions(-) (limited to 'doc/Axlsx/Default.html') diff --git a/doc/Axlsx/Default.html b/doc/Axlsx/Default.html index 7f380873..898601b5 100644 --- a/doc/Axlsx/Default.html +++ b/doc/Axlsx/Default.html @@ -94,10 +94,9 @@

Overview

-

-An default content part. These parts are automatically created by for you -based on the content of your package. -

+ +

An default content part. These parts are automatically created by for you +based on the content of your package.

@@ -129,9 +128,8 @@ based on the content of your package. -

-The type of content. -

+
+

The type of content.

@@ -156,9 +154,8 @@ The type of content. -

-The extension of the content type. -

+
+

The extension of the content type.

@@ -195,9 +192,8 @@ The extension of the content type. -

-Creates a new Default object. -

+
+

Creates a new Default object.

@@ -219,9 +215,8 @@ Creates a new Default object. -

-Serializes the object to xml. -

+
+

Serializes the object to xml.

@@ -242,9 +237,8 @@ Serializes the object to xml.

-

-Creates a new Default object -

+ +

Creates a new Default object

@@ -265,9 +259,8 @@ Creates a new Default object — -

-a customizable set of options -

+
+

a customizable set of options

@@ -312,10 +305,9 @@ a customizable set of options — -

-An argument error is raised if both Extension and ContentType are not -specified. -

+
+

An argument error is raised if both Extension and ContentType are not +specified.

@@ -338,13 +330,12 @@ specified.
# File 'lib/axlsx/content_type/default.rb', line 17
 
-def initialize(options={})
-  raise ArgumentError, "Extension and ContentType are required" unless options[:Extension] && options[:ContentType]
-  options.each do |o|
-    self.send("#{o[0]}=", o[1]) if self.respond_to? "#{o[0]}="
-  end      
-end
-
+def initialize(options={}) + raise ArgumentError, "Extension and ContentType are required" unless options[:Extension] && options[:ContentType] + options.each do |o| + self.send("#{o[0]}=", o[1]) if self.respond_to? "#{o[0]}=" + end +end @@ -367,9 +358,8 @@ specified.

-

-The type of content. -

+ +

The type of content.

@@ -403,10 +393,9 @@ The type of content.
# File 'lib/axlsx/content_type/default.rb', line 11
 
-def ContentType
-  @ContentType
-end
-
+def ContentType + @ContentType +end @@ -424,9 +413,8 @@ The type of content.

-

-The extension of the content type. -

+ +

The extension of the content type.

@@ -460,10 +448,9 @@ The extension of the content type.
# File 'lib/axlsx/content_type/default.rb', line 7
 
-def Extension
-  @Extension
-end
-
+def Extension + @Extension +end @@ -485,9 +472,8 @@ The extension of the content type.

-

-Serializes the object to xml -

+ +

Serializes the object to xml

@@ -506,9 +492,8 @@ Serializes the object to xml — -

-The document builder instance this objects xml will be added to. -

+
+

The document builder instance this objects xml will be added to.

@@ -542,10 +527,9 @@ The document builder instance this objects xml will be added to.
# File 'lib/axlsx/content_type/default.rb', line 33
 
-def to_xml(xml)
-  xml.Default(self.instance_values)
-end
-
+def to_xml(xml) + xml.Default(self.instance_values) +end @@ -556,9 +540,9 @@ The document builder instance this objects xml will be added to.
-- cgit v1.2.3