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/Core.html | 456 ---------------------------------------------------- 1 file changed, 456 deletions(-) delete mode 100644 doc/Axlsx/Core.html (limited to 'doc/Axlsx/Core.html') diff --git a/doc/Axlsx/Core.html b/doc/Axlsx/Core.html deleted file mode 100644 index 69314818..00000000 --- a/doc/Axlsx/Core.html +++ /dev/null @@ -1,456 +0,0 @@ - - - - - - Class: Axlsx::Core - - — AXLSX - - - - - - - - - - - - - - - - - - - - - - -

Class: Axlsx::Core - - - -

- -
- -
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
- - - - - - - - - -
Defined in:
-
lib/axlsx/doc_props/core.rb
- -
-
- -

Overview

-
- -
- Note: -
-

Packages manage their own core object.

-
-
- - -

The core object for the package.

- - -
-
-
- - -

See Also:

-
    - -
  • Package#core
  • - -
- -
- -

Instance Attribute Summary (collapse)

- - - - - - -

- Instance Method Summary - (collapse) -

- - - - -
-

Constructor Details

- -
-

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

-
- -

Creates a new Core object.

- - -
-
-
-

Parameters:

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

    a customizable set of options

    -
    - -
  • - -
- - - - -

Options Hash (options):

-
    - -
  • - creator - (String) - - - - -
  • - -
- - - -
- - - - -
-
-
-
-12
-13
-14
-
-
# File 'lib/axlsx/doc_props/core.rb', line 12
-
-def initialize(options={})
-  @creator = options[:creator] || 'axlsx'      
-end
-
-
-
- -
- -
-

Instance Attribute Details

- - - - -
-

- - - (String) creator - - - -

-
- -

The author of the document. By default this is ‘axlsx’

- - -
-
-
- -

Returns:

-
    - -
  • - - - (String) - - - -
  • - -
- -
- - - - -
-
-
-
-8
-9
-10
-
-
# File 'lib/axlsx/doc_props/core.rb', line 8
-
-def creator
-  @creator
-end
-
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - - (String) to_xml - - - -

-
- -

Serializes the core object. The created dcterms item is set to the current -time when this method is called.

- - -
-
-
- -

Returns:

-
    - -
  • - - - (String) - - - -
  • - -
- -
- - - - -
-
-
-
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-
-
# File 'lib/axlsx/doc_props/core.rb', line 18
-
-def to_xml()
-  builder = Nokogiri::XML::Builder.new(:encoding => ENCODING) do |xml|
-    xml.send('cp:coreProperties', 
-             :"xmlns:cp" => CORE_NS, 
-             :'xmlns:dc' => CORE_NS_DC, 
-             :'xmlns:dcmitype'=>CORE_NS_DCMIT, 
-             :'xmlns:dcterms'=>CORE_NS_DCT, 
-             :'xmlns:xsi'=>CORE_NS_XSI) {
-      xml['dc'].creator self.creator
-      xml['dcterms'].created Time.now.strftime('%Y-%m-%dT%H:%M:%S'), :'xsi:type'=>"dcterms:W3CDTF"
-      xml['cp'].revision 0
-    }
-  end  
-  builder.to_xml
-end
-
-
-
- -
- -
- - - - - \ No newline at end of file -- cgit v1.2.3