summaryrefslogtreecommitdiffhomepage
path: root/doc/Axlsx/RestrictionValidator.html
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2011-11-26 13:20:57 +0900
committerRandy Morgan <[email protected]>2011-11-26 13:20:57 +0900
commit11303a4d6664d9a7ff7bc408035d2ab70378a375 (patch)
tree51c675ae3ab8cd6c1afd7087145261b1eb2ec54c /doc/Axlsx/RestrictionValidator.html
parent044afe5a35db42cefce4f18a0fecc3da90cab1b5 (diff)
downloadcaxlsx-11303a4d6664d9a7ff7bc408035d2ab70378a375.tar.gz
caxlsx-11303a4d6664d9a7ff7bc408035d2ab70378a375.zip
adding in support for ruby 1.9.3
release version 1.0.9
Diffstat (limited to 'doc/Axlsx/RestrictionValidator.html')
-rw-r--r--doc/Axlsx/RestrictionValidator.html55
1 files changed, 23 insertions, 32 deletions
diff --git a/doc/Axlsx/RestrictionValidator.html b/doc/Axlsx/RestrictionValidator.html
index 928537b7..32f5900d 100644
--- a/doc/Axlsx/RestrictionValidator.html
+++ b/doc/Axlsx/RestrictionValidator.html
@@ -6,7 +6,7 @@
<title>
Class: Axlsx::RestrictionValidator
- &mdash; Documentation by YARD 0.7.3
+ &mdash; AXLSX
</title>
@@ -94,9 +94,8 @@
<h2>Overview</h2><div class="docstring">
<div class="discussion">
- <p>
-Validate a value against a specific list of allowed values.
-</p>
+
+<p>Validate a value against a specific list of allowed values.</p>
</div>
@@ -133,9 +132,8 @@ Validate a value against a specific list of allowed values.
- <span class="summary_desc"><div class='inline'><p>
-Perform validation.
-</p>
+ <span class="summary_desc"><div class='inline'>
+<p>Perform validation.</p>
</div></span>
</li>
@@ -159,9 +157,8 @@ Perform validation.
</p><div class="docstring">
<div class="discussion">
- <p>
-Perform validation
-</p>
+
+<p>Perform validation</p>
</div>
@@ -180,9 +177,8 @@ Perform validation
&mdash;
- <div class='inline'><p>
-The name of what is being validatied. This is included in the error message
-</p>
+ <div class='inline'>
+<p>The name of what is being validatied. This is included in the error message</p>
</div>
</li>
@@ -197,9 +193,8 @@ The name of what is being validatied. This is included in the error message
&mdash;
- <div class='inline'><p>
-The list of choices to validate against
-</p>
+ <div class='inline'>
+<p>The list of choices to validate against</p>
</div>
</li>
@@ -214,9 +209,8 @@ The list of choices to validate against
&mdash;
- <div class='inline'><p>
-The value to be validated
-</p>
+ <div class='inline'>
+<p>The value to be validated</p>
</div>
</li>
@@ -234,9 +228,8 @@ The value to be validated
&mdash;
- <div class='inline'><p>
-true if validation succeeds.
-</p>
+ <div class='inline'>
+<p>true if validation succeeds.</p>
</div>
</li>
@@ -253,9 +246,8 @@ true if validation succeeds.
&mdash;
- <div class='inline'><p>
-Raised if the value provided is not in the list of choices.
-</p>
+ <div class='inline'>
+<p>Raised if the value provided is not in the list of choices.</p>
</div>
</li>
@@ -276,11 +268,10 @@ Raised if the value provided is not in the list of choices.
<td>
<pre class="code"><span class="info file"># File 'lib/axlsx/util/validators.rb', line 10</span>
-<span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='validate identifier id'>validate</span><span class='lparen token'>(</span><span class='name identifier id'>name</span><span class='comma token'>,</span> <span class='choices identifier id'>choices</span><span class='comma token'>,</span> <span class='v identifier id'>v</span><span class='rparen token'>)</span>
- <span class='raise identifier id'>raise</span> <span class='ArgumentError constant id'>ArgumentError</span><span class='comma token'>,</span> <span class='lparen token'>(</span><span class='ERR_RESTRICTION constant id'>ERR_RESTRICTION</span> <span class='mod op'>%</span> <span class='lbrack token'>[</span><span class='v identifier id'>v</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span><span class='comma token'>,</span> <span class='name identifier id'>name</span><span class='comma token'>,</span> <span class='choices identifier id'>choices</span><span class='dot token'>.</span><span class='inspect identifier id'>inspect</span><span class='rbrack token'>]</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='choices identifier id'>choices</span><span class='dot token'>.</span><span class='include? fid id'>include?</span><span class='lparen token'>(</span><span class='v identifier id'>v</span><span class='rparen token'>)</span>
- <span class='true true kw'>true</span>
-<span class='end end kw'>end</span>
-</pre>
+<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id validate'>validate</span><span class='lparen'>(</span><span class='id name'>name</span><span class='comma'>,</span> <span class='id choices'>choices</span><span class='comma'>,</span> <span class='id v'>v</span><span class='rparen'>)</span>
+ <span class='id raise'>raise</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='lparen'>(</span><span class='const'>ERR_RESTRICTION</span> <span class='op'>%</span> <span class='lbracket'>[</span><span class='id v'>v</span><span class='period'>.</span><span class='id to_s'>to_s</span><span class='comma'>,</span> <span class='id name'>name</span><span class='comma'>,</span> <span class='id choices'>choices</span><span class='period'>.</span><span class='id inspect'>inspect</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='id choices'>choices</span><span class='period'>.</span><span class='id include?'>include?</span><span class='lparen'>(</span><span class='id v'>v</span><span class='rparen'>)</span>
+ <span class='kw'>true</span>
+<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -291,9 +282,9 @@ Raised if the value provided is not in the list of choices.
</div>
<div id="footer">
- Generated on Wed Nov 23 22:20:54 2011 by
+ Generated on Sat Nov 26 13:16:37 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
- 0.7.3 (ruby-1.8.7).
+ 0.7.3 (ruby-1.9.3).
</div>
</body>