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/RegexValidator.html | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) (limited to 'doc/Axlsx/RegexValidator.html') diff --git a/doc/Axlsx/RegexValidator.html b/doc/Axlsx/RegexValidator.html index f1571271..20182d2a 100644 --- a/doc/Axlsx/RegexValidator.html +++ b/doc/Axlsx/RegexValidator.html @@ -94,9 +94,8 @@

Overview

-

-Validates the value against the regular expression provided. -

+ +

Validates the value against the regular expression provided.

@@ -174,10 +173,9 @@ Validates the value against the regular expression provided. — -

-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

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

-The regular expression to evaluate -

+
+

The regular expression to evaluate

@@ -209,9 +206,8 @@ The regular expression to evaluate — -

-The value to validate. -

+
+

The value to validate.

@@ -245,10 +241,9 @@ The value to validate.
# 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 @@ -259,9 +254,9 @@ The value to validate.
-- cgit v1.2.3