doc/classes/SDL4R/SdlParseError.html in sdl4r-0.9.5 vs doc/classes/SDL4R/SdlParseError.html in sdl4r-0.9.6
- old
+ new
@@ -1,10 +1,13 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
- <title>Class: SDL4R::SdlParseError [RDoc: Simple Declarative Language for Ruby]</title>
+ <title>Class: SDL4R::SdlParseError</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
<script type="text/javascript">
// <![CDATA[
@@ -20,161 +23,139 @@
elem = eval( "document.all." + id );
else
return false;
elemStyle = elem.style;
-
+
if ( elemStyle.display != "block" ) {
elemStyle.display = "block"
} else {
elemStyle.display = "none"
}
return true;
}
-
+
// Make codeblocks hidden by default
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
-
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
+
// ]]>
</script>
</head>
<body>
+
<div id="classHeader">
<table class="header-table">
<tr class="top-aligned-row">
<td><strong>Class</strong></td>
<td class="class-name-in-header">SDL4R::SdlParseError</td>
</tr>
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
-
-
<a href="../../files/lib/sdl4r/sdl_parse_error_rb.html">
-
lib/sdl4r/sdl_parse_error.rb
-
</a>
-
-
<br />
-
</td>
</tr>
-
<tr class="top-aligned-row">
<td><strong>Parent:</strong></td>
<td>
-
StandardError
-
</td>
</tr>
-
</table>
</div>
<!-- banner header -->
<div id="bodyContent">
+
+
<div id="contextContent">
<div id="description">
<p>
-An exception describing a problem with an SDL document’s structure
+An exception describing a problem with an SDL document‘s structure
</p>
</div>
+
</div>
-
<div id="method-list">
<h3 class="section-bar">Methods</h3>
<div class="name-list">
-
- <a href="#M000037">new</a>
-
+ <a href="#M000061">new</a>
</div>
</div>
</div>
+
<!-- if includes -->
<div id="section">
+
+
<div id="attribute-list">
<h3 class="section-bar">Attributes</h3>
<div class="name-list">
<table>
-
<tr class="top-aligned-row context-row">
<td class="context-item-name">line</td>
-
<td class="context-item-value"> [R] </td>
-
<td class="context-item-desc"></td>
</tr>
-
<tr class="top-aligned-row context-row">
<td class="context-item-name">position</td>
-
<td class="context-item-value"> [R] </td>
-
<td class="context-item-desc"></td>
</tr>
-
</table>
</div>
</div>
+
<!-- if method_list -->
-
<div id="methods">
-
<h3 class="section-bar">Public Class methods</h3>
+ <div id="method-M000061" class="method-detail">
+ <a name="M000061"></a>
- <div id="method-M000037" class="method-detail">
- <a name="M000037"></a>
-
<div class="method-heading">
-
- <a href="#M000037" class="method-signature">
-
+ <a href="#M000061" class="method-signature">
<span class="method-name">new</span><span class="method-args">(description, line_no, position, line = nil)</span>
-
</a>
-
</div>
-
+
<div class="method-description">
-
<p>
Note: Line and positioning numbering start with 1 rather than 0 to be
consistent with most editors.
</p>
<p>
<tt>description</tt> A description of the problem. <tt>lineNo</tt> The line
on which the error occured or -1 for unknown <tt>position</tt> The position
(within the line) where the error occured or -1 for unknown
</p>
-
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000037-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000037-source">
+ onclick="toggleCode('M000061-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000061-source">
<pre>
<span class="ruby-comment cmt"># File lib/sdl4r/sdl_parse_error.rb, line 36</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">description</span>, <span class="ruby-identifier">line_no</span>, <span class="ruby-identifier">position</span>, <span class="ruby-identifier">line</span> = <span class="ruby-keyword kw">nil</span>)
<span class="ruby-keyword kw">super</span>(
<span class="ruby-node">"#{description} Line "</span> <span class="ruby-operator">+</span> ((<span class="ruby-identifier">line_no</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-keyword kw">or</span> <span class="ruby-identifier">line_no</span> <span class="ruby-operator"><</span> <span class="ruby-value">0</span>)<span class="ruby-operator">?</span> <span class="ruby-value str">"unknown"</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">line_no</span>.<span class="ruby-identifier">to_s</span>) <span class="ruby-operator">+</span>
@@ -184,24 +165,21 @@
<span class="ruby-ivar">@lineNo</span> = <span class="ruby-identifier">line_no</span>
<span class="ruby-ivar">@position</span> = <span class="ruby-identifier">position</span>
<span class="ruby-keyword kw">end</span>
</pre>
</div>
-
</div>
</div>
-
</div>
-
-
</div>
+
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
</div>
</body>
-</html>
+</html>
\ No newline at end of file