From 8cf0296bbc16e8eb535e9af932eed2557d5e66d2 Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Thu, 1 Dec 2011 14:11:42 +0900 Subject: removing generated yard docs from repository --- doc/Axlsx/Override.html | 540 ------------------------------------------------ 1 file changed, 540 deletions(-) delete mode 100644 doc/Axlsx/Override.html (limited to 'doc/Axlsx/Override.html') diff --git a/doc/Axlsx/Override.html b/doc/Axlsx/Override.html deleted file mode 100644 index 68ce281e..00000000 --- a/doc/Axlsx/Override.html +++ /dev/null @@ -1,540 +0,0 @@ - - - - - - Class: Axlsx::Override - - — AXLSX - - - - - - - - - - - - - - - - - - - - - - -

Class: Axlsx::Override - - - -

- -
- -
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
- - - - - - - - - -
Defined in:
-
lib/axlsx/content_type/override.rb
- -
-
- -

Overview

-
- -

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

- - -
-
-
- - -
- -

Instance Attribute Summary (collapse)

- - - - - - -

- Instance Method Summary - (collapse) -

- - - - -
-

Constructor Details

- -
-

- - - (Override) initialize(options = {}) - - - -

-
- -

Creates a new Override object

- - -
-
-
-

Parameters:

-
    - -
  • - - options - - - (Hash) - - - (defaults to: {}) - - - — -
    -

    a customizable set of options

    -
    - -
  • - -
- - - - -

Options Hash (options):

-
    - -
  • - PartName - (String) - - - - -
  • - -
  • - ContentType - (String) - - - - -
  • - -
- - -

Raises:

-
    - -
  • - - - (ArgumentError) - - - - — -
    -

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

    -
    - -
  • - -
- -
- - - - -
-
-
-
-17
-18
-19
-20
-21
-22
-
-
# 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
-
-
-
- -
- -
-

Instance Attribute Details

- - - - -
-

- - - (String) ContentType - - - -

-
- -

The type of content.

- - -
-
-
- -

Returns:

-
    - -
  • - - - (String) - - - -
  • - -
- -
- - - - -
-
-
-
-7
-8
-9
-
-
# File 'lib/axlsx/content_type/override.rb', line 7
-
-def ContentType
-  @ContentType
-end
-
-
-
- - - - -
-

- - - (String) PartName - - - -

-
- -

The name and location of the part.

- - -
-
-
- -

Returns:

-
    - -
  • - - - (String) - - - -
  • - -
- -
- - - - -
-
-
-
-11
-12
-13
-
-
# File 'lib/axlsx/content_type/override.rb', line 11
-
-def PartName
-  @PartName
-end
-
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - - (Object) to_xml(xml) - - - -

-
- -

Serializes the Override object to xml

- - -
-
-
-

Parameters:

-
    - -
  • - - xml - - - (Nokogiri::XML::Builder) - - - - — -
    -

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

    -
    - -
  • - -
- - -
- - - - -
-
-
-
-33
-34
-35
-
-
# File 'lib/axlsx/content_type/override.rb', line 33
-
-def to_xml(xml)
-  xml.Override(self.instance_values)
-end
-
-
-
- -
- -
- - - - - \ No newline at end of file -- cgit v1.2.3