doc/files/lib/breakpoint_rb.html in ruby-breakpoint-0.5.0 vs doc/files/lib/breakpoint_rb.html in ruby-breakpoint-0.5.1

- old
+ new

@@ -1,202 +1,202 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!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>File: breakpoint.rb</title> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> - <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[ - - function popupCode( url ) { - window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") - } - - function toggleCode( id ) { - if ( document.getElementById ) - elem = document.getElementById( id ); - else if ( document.all ) - 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>" ) - - // ]]> - </script> - -</head> -<body> - - - - <div id="fileHeader"> - <h1>breakpoint.rb</h1> - <table class="header-table"> - <tr class="top-aligned-row"> - <td><strong>Path:</strong></td> - <td>lib/breakpoint.rb - </td> - </tr> - <tr class="top-aligned-row"> - <td><strong>Last Update:</strong></td> - <td>Sat Feb 26 20:43:19 Westeuropäische Normalzeit 2005</td> - </tr> - </table> - </div> - <!-- banner header --> - - <div id="bodyContent"> - - - - <div id="contextContent"> - - <div id="description"> - <p> -The <a href="../../classes/Breakpoint.html">Breakpoint</a> library provides -the convenience of being able to inspect and modify state, diagnose bugs -all via IRB by simply setting breakpoints in your applications by the call -of a method. -</p> -<p> -This library was written and is supported by me, Florian Gross. I can be -reached at flgr@ccan.de and enjoy getting feedback about my libraries. -</p> -<p> -The whole library (including breakpoint_client.rb and binding_of_caller.rb) -is licensed under the same license that Ruby uses. (Which is currently -either the GNU General Public License or a custom one that allows for -commercial usage.) If you for some good reason need to use this under -another license please contact me. -</p> - - </div> - - <div id="requires-list"> - <h3 class="section-bar">Required files</h3> - - <div class="name-list"> - irb&nbsp;&nbsp; - binding_of_caller&nbsp;&nbsp; - drb&nbsp;&nbsp; - drb/acl&nbsp;&nbsp; - thread&nbsp;&nbsp; - </div> - </div> - - </div> - - <div id="method-list"> - <h3 class="section-bar">Methods</h3> - - <div class="name-list"> - <a href="#M000002">assert</a>&nbsp;&nbsp; - <a href="#M000001">breakpoint</a>&nbsp;&nbsp; - </div> - </div> - - </div> - - - <!-- if includes --> - - <div id="section"> - - - - - - - - - <!-- if method_list --> - <div id="methods"> - <h3 class="section-bar">Public Instance methods</h3> - - <div id="method-M000002" class="method-detail"> - <a name="M000002"></a> - - <div class="method-heading"> - <a href="#M000002" class="method-signature"> - <span class="method-name">assert</span><span class="method-args">(&amp;block)</span> - </a> - </div> - - <div class="method-description"> - <p> -See <a href="../../classes/Breakpoint.html#M000005">Breakpoint.assert</a> -</p> - <p><a class="source-toggle" href="#" - onclick="toggleCode('M000002-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000002-source"> -<pre> - <span class="ruby-comment cmt"># File lib/breakpoint.rb, line 543</span> -543: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">assert</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>) -544: <span class="ruby-constant">Binding</span>.<span class="ruby-identifier">of_caller</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">context</span><span class="ruby-operator">|</span> -545: <span class="ruby-constant">Breakpoint</span>.<span class="ruby-identifier">assert</span>(<span class="ruby-identifier">context</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>) -546: <span class="ruby-keyword kw">end</span> -547: <span class="ruby-keyword kw">end</span> -</pre> - </div> - </div> - </div> - - <div id="method-M000001" class="method-detail"> - <a name="M000001"></a> - - <div class="method-heading"> - <a href="#M000001" class="method-signature"> - <span class="method-name">breakpoint</span><span class="method-args">(id = nil, &amp;block)</span> - </a> - </div> - - <div class="method-description"> - <p> -See <a -href="../../classes/Breakpoint.html#M000004">Breakpoint.breakpoint</a> -</p> - <p><a class="source-toggle" href="#" - onclick="toggleCode('M000001-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000001-source"> -<pre> - <span class="ruby-comment cmt"># File lib/breakpoint.rb, line 536</span> -536: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">breakpoint</span>(<span class="ruby-identifier">id</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>) -537: <span class="ruby-constant">Binding</span>.<span class="ruby-identifier">of_caller</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">context</span><span class="ruby-operator">|</span> -538: <span class="ruby-constant">Breakpoint</span>.<span class="ruby-identifier">breakpoint</span>(<span class="ruby-identifier">id</span>, <span class="ruby-identifier">context</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>) -539: <span class="ruby-keyword kw">end</span> -540: <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> +<?xml version="1.0" encoding="iso-8859-1"?> +<!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>File: breakpoint.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <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[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + 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>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="fileHeader"> + <h1>breakpoint.rb</h1> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Path:</strong></td> + <td>lib/breakpoint.rb + </td> + </tr> + <tr class="top-aligned-row"> + <td><strong>Last Update:</strong></td> + <td>Sun Jun 04 18:11:44 CEST 2006</td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + + <div id="description"> + <p> +The <a href="../../classes/Breakpoint.html">Breakpoint</a> library provides +the convenience of being able to inspect and modify state, diagnose bugs +all via IRB by simply setting breakpoints in your applications by the call +of a method. +</p> +<p> +This library was written and is supported by me, Florian Gross. I can be +reached at flgr@ccan.de and enjoy getting feedback about my libraries. +</p> +<p> +The whole library (including breakpoint_client.rb and binding_of_caller.rb) +is licensed under the same license that Ruby uses. (Which is currently +either the GNU General Public License or a custom one that allows for +commercial usage.) If you for some good reason need to use this under +another license please contact me. +</p> + + </div> + + <div id="requires-list"> + <h3 class="section-bar">Required files</h3> + + <div class="name-list"> + irb&nbsp;&nbsp; + binding_of_caller&nbsp;&nbsp; + drb&nbsp;&nbsp; + drb/acl&nbsp;&nbsp; + thread&nbsp;&nbsp; + </div> + </div> + + </div> + + <div id="method-list"> + <h3 class="section-bar">Methods</h3> + + <div class="name-list"> + <a href="#M000002">assert</a>&nbsp;&nbsp; + <a href="#M000001">breakpoint</a>&nbsp;&nbsp; + </div> + </div> + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + <div id="methods"> + <h3 class="section-bar">Public Instance methods</h3> + + <div id="method-M000002" class="method-detail"> + <a name="M000002"></a> + + <div class="method-heading"> + <a href="#M000002" class="method-signature"> + <span class="method-name">assert</span><span class="method-args">(&amp;block)</span> + </a> + </div> + + <div class="method-description"> + <p> +See <a href="../../classes/Breakpoint.html#M000008">Breakpoint.assert</a> +</p> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000002-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000002-source"> +<pre> + <span class="ruby-comment cmt"># File lib/breakpoint.rb, line 570</span> +570: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">assert</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>) +571: <span class="ruby-constant">Binding</span>.<span class="ruby-identifier">of_caller</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">context</span><span class="ruby-operator">|</span> +572: <span class="ruby-constant">Breakpoint</span>.<span class="ruby-identifier">assert</span>(<span class="ruby-identifier">context</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>) +573: <span class="ruby-keyword kw">end</span> +574: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + <div id="method-M000001" class="method-detail"> + <a name="M000001"></a> + + <div class="method-heading"> + <a href="#M000001" class="method-signature"> + <span class="method-name">breakpoint</span><span class="method-args">(id = nil, &amp;block)</span> + </a> + </div> + + <div class="method-description"> + <p> +See <a +href="../../classes/Breakpoint.html#M000007">Breakpoint.breakpoint</a> +</p> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000001-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000001-source"> +<pre> + <span class="ruby-comment cmt"># File lib/breakpoint.rb, line 563</span> +563: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">breakpoint</span>(<span class="ruby-identifier">id</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>) +564: <span class="ruby-constant">Binding</span>.<span class="ruby-identifier">of_caller</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">context</span><span class="ruby-operator">|</span> +565: <span class="ruby-constant">Breakpoint</span>.<span class="ruby-identifier">breakpoint</span>(<span class="ruby-identifier">id</span>, <span class="ruby-identifier">context</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>) +566: <span class="ruby-keyword kw">end</span> +567: <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> \ No newline at end of file