From 11303a4d6664d9a7ff7bc408035d2ab70378a375 Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Sat, 26 Nov 2011 13:20:57 +0900 Subject: adding in support for ruby 1.9.3 release version 1.0.9 --- doc/Axlsx/CellProtection.html | 118 ++++++++++++++++++------------------------ 1 file changed, 50 insertions(+), 68 deletions(-) (limited to 'doc/Axlsx/CellProtection.html') diff --git a/doc/Axlsx/CellProtection.html b/doc/Axlsx/CellProtection.html index 089ca4b4..a62fe369 100644 --- a/doc/Axlsx/CellProtection.html +++ b/doc/Axlsx/CellProtection.html @@ -6,7 +6,7 @@ Class: Axlsx::CellProtection - — Documentation by YARD 0.7.3 + — AXLSX @@ -97,16 +97,14 @@
Note: -

-Using Styles#add_style is the recommended way to manage cell protection. -

+
+

Using Styles#add_style is the recommended way to manage cell protection.

-

-CellProtection stores information about locking or hiding cells in -spreadsheet. -

+ +

CellProtection stores information about locking or hiding cells in +spreadsheet.

@@ -145,9 +143,8 @@ spreadsheet. -

-specifies locking for cells that have the style containing this protection. -

+
+

specifies locking for cells that have the style containing this protection.

@@ -172,9 +169,8 @@ specifies locking for cells that have the style containing this protection. -

-specifies if the cells that have the style containing this protection. -

+
+

specifies if the cells that have the style containing this protection.

@@ -211,9 +207,8 @@ specifies if the cells that have the style containing this protection. -

-Creates a new CellProtection. -

+
+

Creates a new CellProtection.

@@ -235,9 +230,8 @@ Creates a new CellProtection. -

-Serializes the cell protection. -

+
+

Serializes the cell protection.

@@ -258,9 +252,8 @@ Serializes the cell protection.

-

-Creates a new CellProtection -

+ +

Creates a new CellProtection

@@ -281,9 +274,8 @@ Creates a new CellProtection — -

-a customizable set of options -

+
+

a customizable set of options

@@ -302,9 +294,8 @@ a customizable set of options - —

-value for hidden protection -

+ —
+

value for hidden protection

@@ -314,9 +305,8 @@ value for hidden protection - —

-value for locked protection -

+ —
+

value for locked protection

@@ -339,12 +329,11 @@ value for locked protection
# File 'lib/axlsx/stylesheet/cell_protection.rb', line 18
 
-def initialize(options={})
-  options.each do |o|
-    self.send("#{o[0]}=", o[1]) if self.respond_to? "#{o[0]}="
-  end
-end
-
+def initialize(options={}) + options.each do |o| + self.send("#{o[0]}=", o[1]) if self.respond_to? "#{o[0]}=" + end +end @@ -367,9 +356,8 @@ value for locked protection

-

-specifies locking for cells that have the style containing this protection -

+ +

specifies locking for cells that have the style containing this protection

@@ -403,10 +391,9 @@ specifies locking for cells that have the style containing this protection
# File 'lib/axlsx/stylesheet/cell_protection.rb', line 9
 
-def 
-  @hidden
-end
-
+def + @hidden +end @@ -424,9 +411,8 @@ specifies locking for cells that have the style containing this protection

-

-specifies if the cells that have the style containing this protection -

+ +

specifies if the cells that have the style containing this protection

@@ -460,10 +446,9 @@ specifies if the cells that have the style containing this protection
# File 'lib/axlsx/stylesheet/cell_protection.rb', line 13
 
-def locked
-  @locked
-end
-
+def locked + @locked +end @@ -485,9 +470,8 @@ specifies if the cells that have the style containing this protection

-

-Serializes the cell protection -

+ +

Serializes the cell protection

@@ -506,9 +490,8 @@ Serializes the cell protection — -

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

+
+

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

@@ -535,17 +518,16 @@ The document builder instance this objects xml will be added to.
 
 
-29
-30
-31
+32 +33 +34 -
# File 'lib/axlsx/stylesheet/cell_protection.rb', line 29
+      
# File 'lib/axlsx/stylesheet/cell_protection.rb', line 32
 
-def to_xml(xml)
-  xml.protection(self.instance_values)
-end
-
+def to_xml(xml) + xml.protection(self.instance_values) +end
@@ -556,9 +538,9 @@ The document builder instance this objects xml will be added to.
-- cgit v1.2.3