From cdfc7251bde8347678d355e5fe65fc20e120bc23 Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Sun, 27 Nov 2011 21:45:19 +0900 Subject: updating docs for 1.0.10a release --- 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 80addd38..7cab4fdb 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