From 4d16bfc43780e5d3f7368625700b583e3e98217a Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Sun, 27 Nov 2011 18:11:42 +0900 Subject: adding in row_style and col_style methods to worksheet and active record 'acts_as_axlsx' to provide to_xlsx. --- doc/Axlsx/RegexValidator.html | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) (limited to 'doc/Axlsx/RegexValidator.html') diff --git a/doc/Axlsx/RegexValidator.html b/doc/Axlsx/RegexValidator.html index 398202ce..93b584b3 100644 --- a/doc/Axlsx/RegexValidator.html +++ b/doc/Axlsx/RegexValidator.html @@ -94,8 +94,9 @@

Overview

- -

Validates the value against the regular expression provided.

+

+Validates the value against the regular expression provided. +

@@ -173,9 +174,10 @@ — -
-

The name of what is being validated. This is included in the output when -the value is invalid

+

+The name of what is being validated. This is included in the output when +the value is invalid +

@@ -190,8 +192,9 @@ the value is invalid

— -
-

The regular expression to evaluate

+

+The regular expression to evaluate +

@@ -206,8 +209,9 @@ the value is invalid

— -
-

The value to validate.

+

+The value to validate. +

@@ -241,9 +245,10 @@ the value is invalid

# File 'lib/axlsx/util/validators.rb', line 21
 
-def self.validate(name, regex, v)
-  raise ArgumentError, (ERR_REGEX % [v.inspect, regex.to_s]) unless (v.respond_to?(:=~) && v =~ regex)
-end
+def self.validate(name, regex, v) + raise ArgumentError, (ERR_REGEX % [v.inspect, regex.to_s]) unless (v.respond_to?(:=~) && v =~ regex) +end + @@ -254,9 +259,9 @@ the value is invalid

-- cgit v1.2.3