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

Class: Axlsx::RegexValidator - - - -

- -
- -
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
- - - - - - - - - -
Defined in:
-
lib/axlsx/util/validators.rb
- -
-
- -

Overview

-
- -

Validates the value against the regular expression provided.

- - -
-
-
- - -
- - - - - -

- Class Method Summary - (collapse) -

- - - - - - -
-

Class Method Details

- - -
-

- - + (Object) validate(name, regex, v) - - - -

-
- - -
-
-
-

Parameters:

-
    - -
  • - - name - - - (String) - - - - — -
    -

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

    -
    - -
  • - -
  • - - regex - - - (Regexp) - - - - — -
    -

    The regular expression to evaluate

    -
    - -
  • - -
  • - - v - - - (Any) - - - - — -
    -

    The value to validate.

    -
    - -
  • - -
- -

Raises:

-
    - -
  • - - - (ArgumentError) - - - -
  • - -
- -
- - - - -
-
-
-
-21
-22
-23
-
-
# 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
-
-
-
- -
- -
- - - - - \ No newline at end of file -- cgit v1.2.3