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

Overview

-

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

+ +

An override 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 name and location of the part. -

+
+

The name and location of the part.

@@ -195,9 +192,8 @@ The name and location of the part. -

-Creates a new Override object. -

+
+

Creates a new Override object.

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

-Serializes the Override object to xml. -

+
+

Serializes the Override object to xml.

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

-

-Creates a new Override object -

+ +

Creates a new Override object

@@ -265,9 +259,8 @@ Creates a new Override 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 PartName and ContentType are not -specified. -

+
+

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

@@ -338,13 +330,12 @@ specified.
# File 'lib/axlsx/content_type/override.rb', line 17
 
-def initialize(options={})
-  raise ArgumentError, "PartName and ContentType are required" unless options[:PartName] && 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, "PartName and ContentType are required" unless options[:PartName] && 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/override.rb', line 7
 
-def ContentType
-  @ContentType
-end
-
+def ContentType + @ContentType +end @@ -424,9 +413,8 @@ The type of content.

-

-The name and location of the part. -

+ +

The name and location of the part.

@@ -460,10 +448,9 @@ The name and location of the part.
# File 'lib/axlsx/content_type/override.rb', line 11
 
-def PartName
-  @PartName
-end
-
+def PartName + @PartName +end @@ -485,9 +472,8 @@ The name and location of the part.

-

-Serializes the Override object to xml -

+ +

Serializes the Override object to xml

@@ -506,9 +492,8 @@ Serializes the Override 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.

@@ -529,10 +514,9 @@ The document builder instance this objects xml will be added to.
# File 'lib/axlsx/content_type/override.rb', line 33
 
-def to_xml(xml)
-  xml.Override(self.instance_values)
-end
-
+def to_xml(xml) + xml.Override(self.instance_values) +end @@ -543,9 +527,9 @@ The document builder instance this objects xml will be added to.
-- cgit v1.2.3