Debian Codegraph @

doc-api/classes/Kwalify/SchemaError.html

raw
1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE html
3 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
6 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7 <head>
8 <title>Class: Kwalify::SchemaError</title>
9 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10 <meta http-equiv="Content-Script-Type" content="text/javascript" />
11 <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12 <script type="text/javascript">
13 // <![CDATA[
14
15 function popupCode( url ) {
16 window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17 }
18
19 function toggleCode( id ) {
20 if ( document.getElementById )
21 elem = document.getElementById( id );
22 else if ( document.all )
23 elem = eval( "document.all." + id );
24 else
25 return false;
26
27 elemStyle = elem.style;
28
29 if ( elemStyle.display != "block" ) {
30 elemStyle.display = "block"
31 } else {
32 elemStyle.display = "none"
33 }
34
35 return true;
36 }
37
38 // Make codeblocks hidden by default
39 document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
41 // ]]>
42 </script>
43
44 </head>
45 <body>
46
47
48
49 <div id="classHeader">
50 <table class="header-table">
51 <tr class="top-aligned-row">
52 <td><strong>Class</strong></td>
53 <td class="class-name-in-header">Kwalify::SchemaError</td>
54 </tr>
55 <tr class="top-aligned-row">
56 <td><strong>In:</strong></td>
57 <td>
58 <a href="../../files/kwalify/errors_rb.html">
59 kwalify/errors.rb
60 </a>
61 <br />
62 </td>
63 </tr>
64
65 <tr class="top-aligned-row">
66 <td><strong>Parent:</strong></td>
67 <td>
68 <a href="BaseError.html">
69 BaseError
70 </a>
71 </td>
72 </tr>
73 </table>
74 </div>
75 <!-- banner header -->
76
77 <div id="bodyContent">
78
79
80
81 <div id="contextContent">
82
83
84
85 </div>
86
87 <div id="method-list">
88 <h3 class="section-bar">Methods</h3>
89
90 <div class="name-list">
91 <a href="#M000075">new</a>&nbsp;&nbsp;
92 </div>
93 </div>
94
95 </div>
96
97
98 <!-- if includes -->
99
100 <div id="section">
101
102
103
104
105
106
107
108
109 <!-- if method_list -->
110 <div id="methods">
111 <h3 class="section-bar">Public Class methods</h3>
112
113 <div id="method-M000075" class="method-detail">
114 <a name="M000075"></a>
115
116 <div class="method-heading">
117 <a href="#M000075" class="method-signature">
118 <span class="method-name">new</span><span class="method-args">(message=&quot;&quot;, path=nil, rule=nil, value=nil, error_symbol=nil)</span>
119 </a>
120 </div>
121
122 <div class="method-description">
123 <p><a class="source-toggle" href="#"
124 onclick="toggleCode('M000075-source');return false;">[Source]</a></p>
125 <div class="method-source-code" id="M000075-source">
126 <pre>
127 <span class="ruby-comment cmt"># File kwalify/errors.rb, line 61</span>
128 <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">message</span>=<span class="ruby-value str">&quot;&quot;</span>, <span class="ruby-identifier">path</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">rule</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">value</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">error_symbol</span>=<span class="ruby-keyword kw">nil</span>)
129 <span class="ruby-keyword kw">super</span>(<span class="ruby-identifier">message</span>, <span class="ruby-identifier">path</span>, <span class="ruby-identifier">rule</span>, <span class="ruby-identifier">value</span>, <span class="ruby-identifier">error_symbol</span>)
130 <span class="ruby-keyword kw">end</span>
131 </pre>
132 </div>
133 </div>
134 </div>
135
136
137 </div>
138
139
140 </div>
141
142
143 <div id="validator-badges">
144 <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
145 </div>
146
147 </body>
148 </html>