Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adjusting publishing information and removing home setting from feature

to have the feature passing in my environment.
Hugo
  • Loading branch information...
commit 04834ca6ddf43edb71bea9f99a701ba8f55c157d 1 parent a222c3e
@hugocorbucci hugocorbucci authored
Showing with 6 additions and 2,197 deletions.
  1. +0 −150 doc/classes/Rfactor.html
  2. +0 −177 doc/classes/Rfactor/Code.html
  3. +0 −19 doc/classes/Rfactor/Code.src/M000003.html
  4. +0 −48 doc/classes/Rfactor/Code.src/M000004.html
  5. +0 −154 doc/classes/Rfactor/LineFinder.html
  6. +0 −18 doc/classes/Rfactor/LineFinder.src/M000007.html
  7. +0 −20 doc/classes/Rfactor/LineFinder.src/M000008.html
  8. +0 −172 doc/classes/Rfactor/MethodLineFinderProcessor.html
  9. +0 −23 doc/classes/Rfactor/MethodLineFinderProcessor.src/M000005.html
  10. +0 −23 doc/classes/Rfactor/MethodLineFinderProcessor.src/M000006.html
  11. +0 −152 doc/classes/String.html
  12. +0 −22 doc/classes/String.src/M000001.html
  13. +0 −18 doc/classes/String.src/M000002.html
  14. +0 −1  doc/created.rid
  15. +0 −121 doc/files/History_txt.html
  16. +0 −112 doc/files/PostInstall_txt.html
  17. +0 −211 doc/files/README_rdoc.html
  18. +0 −101 doc/files/lib/rfactor/code_rb.html
  19. +0 −101 doc/files/lib/rfactor/line_finder_rb.html
  20. +0 −101 doc/files/lib/rfactor/string_ext_rb.html
  21. +0 −113 doc/files/lib/rfactor_rb.html
  22. +0 −31 doc/fr_class_index.html
  23. +0 −33 doc/fr_file_index.html
  24. +0 −34 doc/fr_method_index.html
  25. +0 −24 doc/index.html
  26. +0 −208 doc/rdoc-style.css
  27. +0 −5 features/steps/common.rb
  28. +1 −1  lib/rfactor.rb
  29. +5 −4 rfactor.gemspec
View
150 doc/classes/Rfactor.html
@@ -1,150 +0,0 @@
-<?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>Module: Rfactor</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="classHeader">
- <table class="header-table">
- <tr class="top-aligned-row">
- <td><strong>Module</strong></td>
- <td class="class-name-in-header">Rfactor</td>
- </tr>
- <tr class="top-aligned-row">
- <td><strong>In:</strong></td>
- <td>
- <a href="../files/lib/rfactor_rb.html">
- lib/rfactor.rb
- </a>
- <br />
- <a href="../files/lib/rfactor/code_rb.html">
- lib/rfactor/code.rb
- </a>
- <br />
- <a href="../files/lib/rfactor/line_finder_rb.html">
- lib/rfactor/line_finder.rb
- </a>
- <br />
- </td>
- </tr>
-
- </table>
- </div>
- <!-- banner header -->
-
- <div id="bodyContent">
-
-
-
- <div id="contextContent">
-
- <div id="description">
- <h2>Usage</h2>
-<p>
-The main class to be used is <a href="Rfactor/Code.html">Rfactor::Code</a>
-</p>
-<p>
-Example:
-</p>
-<pre>
- code = Rfactor::Code.new(document)
- new_code = code.extract_method :name =&gt; 'new_method',
- :start =&gt; 3,
- :end =&gt; 5
-</pre>
-
- </div>
-
-
- </div>
-
-
- </div>
-
-
- <!-- if includes -->
-
- <div id="section">
-
- <div id="class-list">
- <h3 class="section-bar">Classes and Modules</h3>
-
- Class <a href="Rfactor/Code.html" class="link">Rfactor::Code</a><br />
-Class <a href="Rfactor/LineFinder.html" class="link">Rfactor::LineFinder</a><br />
-Class <a href="Rfactor/MethodLineFinderProcessor.html" class="link">Rfactor::MethodLineFinderProcessor</a><br />
-
- </div>
-
- <div id="constants-list">
- <h3 class="section-bar">Constants</h3>
-
- <div class="name-list">
- <table summary="Constants">
- <tr class="top-aligned-row context-row">
- <td class="context-item-name">VERSION</td>
- <td>=</td>
- <td class="context-item-value">'0.0.2'</td>
- </tr>
- </table>
- </div>
- </div>
-
-
-
-
-
-
- <!-- if method_list -->
-
-
- </div>
-
-
-<div id="validator-badges">
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
-</div>
-
-</body>
-</html>
View
177 doc/classes/Rfactor/Code.html
@@ -1,177 +0,0 @@
-<?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>Class: Rfactor::Code</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="classHeader">
- <table class="header-table">
- <tr class="top-aligned-row">
- <td><strong>Class</strong></td>
- <td class="class-name-in-header">Rfactor::Code</td>
- </tr>
- <tr class="top-aligned-row">
- <td><strong>In:</strong></td>
- <td>
- <a href="../../files/lib/rfactor/code_rb.html">
- lib/rfactor/code.rb
- </a>
- <br />
- </td>
- </tr>
-
- <tr class="top-aligned-row">
- <td><strong>Parent:</strong></td>
- <td>
- Object
- </td>
- </tr>
- </table>
- </div>
- <!-- banner header -->
-
- <div id="bodyContent">
-
-
-
- <div id="contextContent">
-
-
-
- </div>
-
- <div id="method-list">
- <h3 class="section-bar">Methods</h3>
-
- <div class="name-list">
- <a href="#M000004">extract_method</a>&nbsp;&nbsp;
- <a href="#M000003">new</a>&nbsp;&nbsp;
- </div>
- </div>
-
- </div>
-
-
- <!-- if includes -->
-
- <div id="section">
-
-
-
-
-
-
-
-
- <!-- if method_list -->
- <div id="methods">
- <h3 class="section-bar">Public Class methods</h3>
-
- <div id="method-M000003" class="method-detail">
- <a name="M000003"></a>
-
- <div class="method-heading">
- <a href="Code.src/M000003.html" target="Code" class="method-signature"
- onclick="popupCode('Code.src/M000003.html');return false;">
- <span class="method-name">new</span><span class="method-args">(code)</span>
- </a>
- </div>
-
- <div class="method-description">
- <p>
-code: <a href="../String.html">String</a> with code to be refactored
-</p>
- </div>
- </div>
-
- <h3 class="section-bar">Public Instance methods</h3>
-
- <div id="method-M000004" class="method-detail">
- <a name="M000004"></a>
-
- <div class="method-heading">
- <a href="Code.src/M000004.html" target="Code" class="method-signature"
- onclick="popupCode('Code.src/M000004.html');return false;">
- <span class="method-name">extract_method</span><span class="method-args">(args)</span>
- </a>
- </div>
-
- <div class="method-description">
- <h2>Required arguments</h2>
-<p>
-You must pass them inside a Hash:
-</p>
-<ul>
-<li>:name =&gt; &#8216;the <a href="Code.html#M000003">new</a> method
-name&#8216;
-
-</li>
-<li>:start =&gt; line number where the code to be extracted starts
-
-</li>
-<li>:end =&gt; line number where the code to be extracted ends
-
-</li>
-</ul>
-<h2>Example</h2>
-<pre>
- code.extract_method :name =&gt; 'common_code', :start =&gt; 3, :end =&gt; 7
-</pre>
- </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>
View
19 doc/classes/Rfactor/Code.src/M000003.html
@@ -1,19 +0,0 @@
-<?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>
-<head>
- <title>new (Rfactor::Code)</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
-</head>
-<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File lib/rfactor/code.rb, line 6</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">code</span>)
- <span class="ruby-ivar">@code</span> = <span class="ruby-identifier">code</span>
- <span class="ruby-ivar">@line_finder</span> = <span class="ruby-constant">LineFinder</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@ast</span>)
- <span class="ruby-keyword kw">end</span></pre>
-</body>
-</html>
View
48 doc/classes/Rfactor/Code.src/M000004.html
@@ -1,48 +0,0 @@
-<?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>
-<head>
- <title>extract_method (Rfactor::Code)</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
-</head>
-<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File lib/rfactor/code.rb, line 22</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">extract_method</span>(<span class="ruby-identifier">args</span>)
- <span class="ruby-identifier">raise</span> <span class="ruby-value str">&quot;:name is required&quot;</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">args</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">:name</span>)
-
- <span class="ruby-identifier">ast</span> = <span class="ruby-constant">RubyParser</span>.<span class="ruby-identifier">new</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">code</span>)
- <span class="ruby-identifier">method_lines</span> = <span class="ruby-ivar">@line_finder</span>.<span class="ruby-identifier">method_lines</span>(<span class="ruby-identifier">args</span>[<span class="ruby-identifier">:start</span>])
- <span class="ruby-identifier">selected_lines</span> = <span class="ruby-constant">Range</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">args</span>[<span class="ruby-identifier">:start</span>], <span class="ruby-identifier">args</span>[<span class="ruby-identifier">:end</span>])
-
- <span class="ruby-identifier">new_code</span> = <span class="ruby-value str">&quot;&quot;</span>
- <span class="ruby-identifier">extracted_method</span> = <span class="ruby-value str">&quot;&quot;</span>
- <span class="ruby-identifier">added</span> = <span class="ruby-keyword kw">false</span>
- <span class="ruby-identifier">identation</span> = <span class="ruby-value">0</span>
-
- <span class="ruby-identifier">code</span>.<span class="ruby-identifier">each_with_index</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">line</span>, <span class="ruby-identifier">n</span><span class="ruby-operator">|</span>
- <span class="ruby-identifier">line_number</span> = <span class="ruby-identifier">n</span> <span class="ruby-operator">+</span> <span class="ruby-value">1</span> <span class="ruby-comment cmt"># not 0-based</span>
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">line_number</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">method_lines</span>.<span class="ruby-identifier">first</span>
- <span class="ruby-identifier">identation</span> = <span class="ruby-identifier">extract_identation_level_from</span> <span class="ruby-identifier">line</span>
- <span class="ruby-identifier">extracted_method</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;\n#{identation}&quot;</span>
- <span class="ruby-identifier">extracted_method</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;def #{args[:name]}()\n&quot;</span>
- <span class="ruby-keyword kw">end</span>
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">selected_lines</span>.<span class="ruby-identifier">include?</span> <span class="ruby-identifier">line_number</span>
- <span class="ruby-identifier">new_code</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;#{identation} #{args[:name]}()\n&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">line_number</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">selected_lines</span>.<span class="ruby-identifier">first</span>
- <span class="ruby-identifier">extracted_method</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">line</span>
- <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">line_number</span> <span class="ruby-operator">&gt;</span> <span class="ruby-identifier">method_lines</span>.<span class="ruby-identifier">last</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-operator">!</span><span class="ruby-identifier">added</span>
- <span class="ruby-identifier">added</span> = <span class="ruby-keyword kw">true</span>
- <span class="ruby-identifier">new_code</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">extracted_method</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;#{identation}end\n&quot;</span>
- <span class="ruby-identifier">new_code</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">line</span>
- <span class="ruby-keyword kw">else</span>
- <span class="ruby-identifier">new_code</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">line</span>
- <span class="ruby-keyword kw">end</span>
- <span class="ruby-keyword kw">end</span>
- <span class="ruby-identifier">new_code</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;\n#{extracted_method}#{identation}end\n&quot;</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">added</span>
- <span class="ruby-identifier">new_code</span>
- <span class="ruby-keyword kw">end</span></pre>
-</body>
-</html>
View
154 doc/classes/Rfactor/LineFinder.html
@@ -1,154 +0,0 @@
-<?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>Class: Rfactor::LineFinder</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="classHeader">
- <table class="header-table">
- <tr class="top-aligned-row">
- <td><strong>Class</strong></td>
- <td class="class-name-in-header">Rfactor::LineFinder</td>
- </tr>
- <tr class="top-aligned-row">
- <td><strong>In:</strong></td>
- <td>
- <a href="../../files/lib/rfactor/line_finder_rb.html">
- lib/rfactor/line_finder.rb
- </a>
- <br />
- </td>
- </tr>
-
- <tr class="top-aligned-row">
- <td><strong>Parent:</strong></td>
- <td>
- Object
- </td>
- </tr>
- </table>
- </div>
- <!-- banner header -->
-
- <div id="bodyContent">
-
-
-
- <div id="contextContent">
-
-
-
- </div>
-
- <div id="method-list">
- <h3 class="section-bar">Methods</h3>
-
- <div class="name-list">
- <a href="#M000008">method_lines</a>&nbsp;&nbsp;
- <a href="#M000007">new</a>&nbsp;&nbsp;
- </div>
- </div>
-
- </div>
-
-
- <!-- if includes -->
-
- <div id="section">
-
-
-
-
-
-
-
-
- <!-- if method_list -->
- <div id="methods">
- <h3 class="section-bar">Public Class methods</h3>
-
- <div id="method-M000007" class="method-detail">
- <a name="M000007"></a>
-
- <div class="method-heading">
- <a href="LineFinder.src/M000007.html" target="Code" class="method-signature"
- onclick="popupCode('LineFinder.src/M000007.html');return false;">
- <span class="method-name">new</span><span class="method-args">(ast)</span>
- </a>
- </div>
-
- <div class="method-description">
- </div>
- </div>
-
- <h3 class="section-bar">Public Instance methods</h3>
-
- <div id="method-M000008" class="method-detail">
- <a name="M000008"></a>
-
- <div class="method-heading">
- <a href="LineFinder.src/M000008.html" target="Code" class="method-signature"
- onclick="popupCode('LineFinder.src/M000008.html');return false;">
- <span class="method-name">method_lines</span><span class="method-args">(line_in_code)</span>
- </a>
- </div>
-
- <div class="method-description">
- </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>
View
18 doc/classes/Rfactor/LineFinder.src/M000007.html
@@ -1,18 +0,0 @@
-<?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>
-<head>
- <title>new (Rfactor::LineFinder)</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
-</head>
-<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File lib/rfactor/line_finder.rb, line 5</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">ast</span>)
- <span class="ruby-ivar">@ast</span> = <span class="ruby-identifier">ast</span>
- <span class="ruby-keyword kw">end</span></pre>
-</body>
-</html>
View
20 doc/classes/Rfactor/LineFinder.src/M000008.html
@@ -1,20 +0,0 @@
-<?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>
-<head>
- <title>method_lines (Rfactor::LineFinder)</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
-</head>
-<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File lib/rfactor/line_finder.rb, line 9</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_lines</span>(<span class="ruby-identifier">line_in_code</span>)
- <span class="ruby-identifier">processor</span> = <span class="ruby-constant">MethodLineFinderProcessor</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">line_in_code</span>)
- <span class="ruby-identifier">processor</span>.<span class="ruby-identifier">process</span>(<span class="ruby-ivar">@ast</span>)
- <span class="ruby-constant">Range</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">processor</span>.<span class="ruby-identifier">method_line</span>, <span class="ruby-identifier">processor</span>.<span class="ruby-identifier">last_method_line</span>)
- <span class="ruby-keyword kw">end</span></pre>
-</body>
-</html>
View
172 doc/classes/Rfactor/MethodLineFinderProcessor.html
@@ -1,172 +0,0 @@
-<?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>Class: Rfactor::MethodLineFinderProcessor</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="classHeader">
- <table class="header-table">
- <tr class="top-aligned-row">
- <td><strong>Class</strong></td>
- <td class="class-name-in-header">Rfactor::MethodLineFinderProcessor</td>
- </tr>
- <tr class="top-aligned-row">
- <td><strong>In:</strong></td>
- <td>
- <a href="../../files/lib/rfactor/line_finder_rb.html">
- lib/rfactor/line_finder.rb
- </a>
- <br />
- </td>
- </tr>
-
- <tr class="top-aligned-row">
- <td><strong>Parent:</strong></td>
- <td>
- ::SexpProcessor
- </td>
- </tr>
- </table>
- </div>
- <!-- banner header -->
-
- <div id="bodyContent">
-
-
-
- <div id="contextContent">
-
-
-
- </div>
-
- <div id="method-list">
- <h3 class="section-bar">Methods</h3>
-
- <div class="name-list">
- <a href="#M000005">new</a>&nbsp;&nbsp;
- <a href="#M000006">process_defn</a>&nbsp;&nbsp;
- </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">last_method_line</td>
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
- <td class="context-item-desc"></td>
- </tr>
- <tr class="top-aligned-row context-row">
- <td class="context-item-name">method_line</td>
- <td class="context-item-value">&nbsp;[R]&nbsp;</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-M000005" class="method-detail">
- <a name="M000005"></a>
-
- <div class="method-heading">
- <a href="MethodLineFinderProcessor.src/M000005.html" target="Code" class="method-signature"
- onclick="popupCode('MethodLineFinderProcessor.src/M000005.html');return false;">
- <span class="method-name">new</span><span class="method-args">(line)</span>
- </a>
- </div>
-
- <div class="method-description">
- </div>
- </div>
-
- <h3 class="section-bar">Public Instance methods</h3>
-
- <div id="method-M000006" class="method-detail">
- <a name="M000006"></a>
-
- <div class="method-heading">
- <a href="MethodLineFinderProcessor.src/M000006.html" target="Code" class="method-signature"
- onclick="popupCode('MethodLineFinderProcessor.src/M000006.html');return false;">
- <span class="method-name">process_defn</span><span class="method-args">(exp)</span>
- </a>
- </div>
-
- <div class="method-description">
- </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>
View
23 doc/classes/Rfactor/MethodLineFinderProcessor.src/M000005.html
@@ -1,23 +0,0 @@
-<?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>
-<head>
- <title>new (Rfactor::MethodLineFinderProcessor)</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
-</head>
-<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File lib/rfactor/line_finder.rb, line 20</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">line</span>)
- <span class="ruby-keyword kw">super</span>()
- <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">strict</span> = <span class="ruby-keyword kw">false</span>
- <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">require_empty</span> = <span class="ruby-keyword kw">false</span>
- <span class="ruby-ivar">@line</span> = <span class="ruby-identifier">line</span>
- <span class="ruby-ivar">@method_line</span> = <span class="ruby-value">0</span>
- <span class="ruby-ivar">@last_method_line</span> = <span class="ruby-value">0</span>
- <span class="ruby-keyword kw">end</span></pre>
-</body>
-</html>
View
23 doc/classes/Rfactor/MethodLineFinderProcessor.src/M000006.html
@@ -1,23 +0,0 @@
-<?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>
-<head>
- <title>process_defn (Rfactor::MethodLineFinderProcessor)</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
-</head>
-<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File lib/rfactor/line_finder.rb, line 29</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">process_defn</span>(<span class="ruby-identifier">exp</span>)
- <span class="ruby-identifier">current</span> = <span class="ruby-identifier">exp</span>.<span class="ruby-identifier">line</span>
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">current</span> <span class="ruby-operator">&gt;</span> <span class="ruby-ivar">@method_line</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">current</span> <span class="ruby-operator">&lt;</span> <span class="ruby-ivar">@line</span>
- <span class="ruby-ivar">@method_line</span> = <span class="ruby-identifier">current</span>
- <span class="ruby-ivar">@last_method_line</span> = <span class="ruby-identifier">exp</span>.<span class="ruby-identifier">endline</span>
- <span class="ruby-keyword kw">end</span>
- <span class="ruby-identifier">exp</span>
- <span class="ruby-keyword kw">end</span></pre>
-</body>
-</html>
View
152 doc/classes/String.html
@@ -1,152 +0,0 @@
-<?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>Class: String</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="classHeader">
- <table class="header-table">
- <tr class="top-aligned-row">
- <td><strong>Class</strong></td>
- <td class="class-name-in-header">String</td>
- </tr>
- <tr class="top-aligned-row">
- <td><strong>In:</strong></td>
- <td>
- <a href="../files/lib/rfactor/string_ext_rb.html">
- lib/rfactor/string_ext.rb
- </a>
- <br />
- </td>
- </tr>
-
- <tr class="top-aligned-row">
- <td><strong>Parent:</strong></td>
- <td>
- Object
- </td>
- </tr>
- </table>
- </div>
- <!-- banner header -->
-
- <div id="bodyContent">
-
-
-
- <div id="contextContent">
-
-
-
- </div>
-
- <div id="method-list">
- <h3 class="section-bar">Methods</h3>
-
- <div class="name-list">
- <a href="#M000001">last_line</a>&nbsp;&nbsp;
- <a href="#M000002">strip_blank_lines_at_end</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-M000001" class="method-detail">
- <a name="M000001"></a>
-
- <div class="method-heading">
- <a href="String.src/M000001.html" target="Code" class="method-signature"
- onclick="popupCode('String.src/M000001.html');return false;">
- <span class="method-name">last_line</span><span class="method-args">()</span>
- </a>
- </div>
-
- <div class="method-description">
- </div>
- </div>
-
- <div id="method-M000002" class="method-detail">
- <a name="M000002"></a>
-
- <div class="method-heading">
- <a href="String.src/M000002.html" target="Code" class="method-signature"
- onclick="popupCode('String.src/M000002.html');return false;">
- <span class="method-name">strip_blank_lines_at_end</span><span class="method-args">()</span>
- </a>
- </div>
-
- <div class="method-description">
- </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>
View
22 doc/classes/String.src/M000001.html
@@ -1,22 +0,0 @@
-<?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>
-<head>
- <title>last_line (String)</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
-</head>
-<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File lib/rfactor/string_ext.rb, line 3</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">last_line</span>
- <span class="ruby-identifier">number</span> = <span class="ruby-value">0</span>
- <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">each_with_index</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">line</span>, <span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
- <span class="ruby-identifier">number</span> = <span class="ruby-identifier">i</span>
- <span class="ruby-keyword kw">end</span>
- <span class="ruby-identifier">number</span> <span class="ruby-operator">+</span> <span class="ruby-value">1</span>
- <span class="ruby-keyword kw">end</span></pre>
-</body>
-</html>
View
18 doc/classes/String.src/M000002.html
@@ -1,18 +0,0 @@
-<?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>
-<head>
- <title>strip_blank_lines_at_end (String)</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
-</head>
-<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File lib/rfactor/string_ext.rb, line 11</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">strip_blank_lines_at_end</span>
- <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">gsub</span> <span class="ruby-regexp re">/((\s*)\n)+$/</span>, <span class="ruby-value str">''</span>
- <span class="ruby-keyword kw">end</span></pre>
-</body>
-</html>
View
1  doc/created.rid
@@ -1 +0,0 @@
-Fri, 06 Feb 2009 00:49:12 -0200
View
121 doc/files/History_txt.html
@@ -1,121 +0,0 @@
-<?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: History.txt</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>History.txt</h1>
- <table class="header-table">
- <tr class="top-aligned-row">
- <td><strong>Path:</strong></td>
- <td>History.txt
- </td>
- </tr>
- <tr class="top-aligned-row">
- <td><strong>Last Update:</strong></td>
- <td>Wed Feb 04 09:38:42 -0200 2009</td>
- </tr>
- </table>
- </div>
- <!-- banner header -->
-
- <div id="bodyContent">
-
-
-
- <div id="contextContent">
-
- <div id="description">
- <h2>0.0.1 2009-02-04</h2>
-<ul>
-<li>basic extract method support:
-
-<ul>
-<li>for code inside methods
-
-</li>
-<li>without identifying method parameters
-
-</li>
-<li>without getting method return
-
-</li>
-</ul>
-</li>
-</ul>
-
- </div>
-
-
- </div>
-
-
- </div>
-
-
- <!-- if includes -->
-
- <div id="section">
-
-
-
-
-
-
-
-
- <!-- if method_list -->
-
-
- </div>
-
-
-<div id="validator-badges">
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
-</div>
-
-</body>
-</html>
View
112 doc/files/PostInstall_txt.html
@@ -1,112 +0,0 @@
-<?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: PostInstall.txt</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>PostInstall.txt</h1>
- <table class="header-table">
- <tr class="top-aligned-row">
- <td><strong>Path:</strong></td>
- <td>PostInstall.txt
- </td>
- </tr>
- <tr class="top-aligned-row">
- <td><strong>Last Update:</strong></td>
- <td>Tue Nov 25 18:46:57 -0200 2008</td>
- </tr>
- </table>
- </div>
- <!-- banner header -->
-
- <div id="bodyContent">
-
-
-
- <div id="contextContent">
-
- <div id="description">
- <p>
-For more information on rfactor, see <a
-href="http://rfactor.rubyforge.org">rfactor.rubyforge.org</a>
-</p>
-<p>
-NOTE: Change this information in PostInstall.txt You can also delete it if
-you don&#8216;t want it.
-</p>
-
- </div>
-
-
- </div>
-
-
- </div>
-
-
- <!-- if includes -->
-
- <div id="section">
-
-
-
-
-
-
-
-
- <!-- if method_list -->
-
-
- </div>
-
-
-<div id="validator-badges">
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
-</div>
-
-</body>
-</html>
View
211 doc/files/README_rdoc.html
@@ -1,211 +0,0 @@
-<?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: README.rdoc</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>README.rdoc</h1>
- <table class="header-table">
- <tr class="top-aligned-row">
- <td><strong>Path:</strong></td>
- <td>README.rdoc
- </td>
- </tr>
- <tr class="top-aligned-row">
- <td><strong>Last Update:</strong></td>
- <td>Thu Feb 05 15:50:30 -0200 2009</td>
- </tr>
- </table>
- </div>
- <!-- banner header -->
-
- <div id="bodyContent">
-
-
-
- <div id="contextContent">
-
- <div id="description">
- <h1>rfactor</h1>
-<p>
-<a
-href="http://wiki.github.com/fabiokung/rfactor">wiki.github.com/fabiokung/rfactor</a>
-</p>
-<h2>DESCRIPTION:</h2>
-<p>
-Common refactorings for Ruby code, written in Ruby. This project aims to be
-integrated with several editors (mainly TextMate), to provide simple
-refactorings, such as:
-</p>
-<ul>
-<li>extract method
-
-</li>
-<li>extract Class
-
-</li>
-<li>extract Module
-
-</li>
-<li>rename using ack
-
-</li>
-<li>move using ack
-
-</li>
-</ul>
-<h2>FEATURES/PROBLEMS:</h2>
-<ul>
-<li>Uses <a href="http://parsetree.rubyforge.org">RubyParser</a> to extract
-ASTs
-
-</li>
-</ul>
-<h2>SYNOPSIS:</h2>
-<pre>
- code = Rfactor::Code.new(CODE)
- new_code = code.extract_method :name =&gt; 'common_behavior',
- :start =&gt; 10,
- :end =&gt; 15
- # new_code should contain the changed code. The content between
- # lines 10 and 15 are extracted to the new method called common_behavior
-</pre>
-<p>
-See the features (Cucumber) directory for more examples.
-</p>
-<h2>REQUIREMENTS:</h2>
-<ul>
-<li>ParseTree
-
-</li>
-<li>modified ruby_parser, from [fabiokung&#8216;s github repository](<a
-href="http://github.com/fabiokung/ruby_parser/tree/master">github.com/fabiokung/ruby_parser/tree/master</a>)
-
-</li>
-<li>modified sexp_processor, from [fabiokung&#8216;s github repository](<a
-href="http://github.com/fabiokung/sexp_processor/tree/master">github.com/fabiokung/sexp_processor/tree/master</a>)
-
-</li>
-</ul>
-<h2>INSTALL:</h2>
-<p>
-All you need is installed automatically by rubygems:
-</p>
-<pre>
- sudo gem install fabiokung-rfactor -s http://gems.github.com
-</pre>
-<p>
-But, if you need, here are the required gems individually:
-</p>
-<pre>
- gem install ParseTree
- gem install newgem
- gem install fabiokung-sexp_processor -s http://gems.github.com
- gem install fabiokung-ruby_parser -s http://gems.github.com
- gem install fabiokung-rfactor -s http://gems.github.com
-</pre>
-<h2>LICENSE:</h2>
-<p>
-(The MIT License)
-</p>
-<p>
-Copyright (c) 2008 Fabio Kung &lt;fabio.kung@gmail.com&gt;
-</p>
-<p>
-Permission is hereby granted, free of charge, to any person obtaining a
-copy of this software and associated documentation files (the
-&#8216;Software&#8217;), to deal in the Software without restriction,
-including without limitation the rights to use, copy, modify, merge,
-publish, distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to the
-following conditions:
-</p>
-<p>
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-</p>
-<p>
-THE SOFTWARE IS PROVIDED &#8216;AS IS&#8217;, WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
-NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
-DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
-OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
-USE OR OTHER DEALINGS IN THE SOFTWARE.
-</p>
-
- </div>
-
-
- </div>
-
-
- </div>
-
-
- <!-- if includes -->
-
- <div id="section">
-
-
-
-
-
-
-
-
- <!-- if method_list -->
-
-
- </div>
-
-
-<div id="validator-badges">
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
-</div>
-
-</body>
-</html>
View
101 doc/files/lib/rfactor/code_rb.html
@@ -1,101 +0,0 @@
-<?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: code.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>code.rb</h1>
- <table class="header-table">
- <tr class="top-aligned-row">
- <td><strong>Path:</strong></td>
- <td>lib/rfactor/code.rb
- </td>
- </tr>
- <tr class="top-aligned-row">
- <td><strong>Last Update:</strong></td>
- <td>Fri Feb 06 00:44:38 -0200 2009</td>
- </tr>
- </table>
- </div>
- <!-- banner header -->
-
- <div id="bodyContent">
-
-
-
- <div id="contextContent">
-
-
-
- </div>
-
-
- </div>
-
-
- <!-- if includes -->
-
- <div id="section">
-
-
-
-
-
-
-
-
- <!-- if method_list -->
-
-
- </div>
-
-
-<div id="validator-badges">
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
-</div>
-
-</body>
-</html>
View
101 doc/files/lib/rfactor/line_finder_rb.html
@@ -1,101 +0,0 @@
-<?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: line_finder.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>line_finder.rb</h1>
- <table class="header-table">
- <tr class="top-aligned-row">
- <td><strong>Path:</strong></td>
- <td>lib/rfactor/line_finder.rb
- </td>
- </tr>
- <tr class="top-aligned-row">
- <td><strong>Last Update:</strong></td>
- <td>Wed Feb 04 08:13:51 -0200 2009</td>
- </tr>
- </table>
- </div>
- <!-- banner header -->
-
- <div id="bodyContent">
-
-
-
- <div id="contextContent">
-
-
-
- </div>
-
-
- </div>
-
-
- <!-- if includes -->
-
- <div id="section">
-
-
-
-
-
-
-
-
- <!-- if method_list -->
-
-
- </div>
-
-
-<div id="validator-badges">
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
-</div>
-
-</body>
-</html>
View
101 doc/files/lib/rfactor/string_ext_rb.html
@@ -1,101 +0,0 @@
-<?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: string_ext.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>string_ext.rb</h1>
- <table class="header-table">
- <tr class="top-aligned-row">
- <td><strong>Path:</strong></td>
- <td>lib/rfactor/string_ext.rb
- </td>
- </tr>
- <tr class="top-aligned-row">
- <td><strong>Last Update:</strong></td>
- <td>Wed Feb 04 00:47:56 -0200 2009</td>
- </tr>
- </table>
- </div>
- <!-- banner header -->
-
- <div id="bodyContent">
-
-
-
- <div id="contextContent">
-
-
-
- </div>
-
-
- </div>
-
-
- <!-- if includes -->
-
- <div id="section">
-
-
-
-
-
-
-
-
- <!-- if method_list -->
-
-
- </div>
-
-
-<div id="validator-badges">
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
-</div>
-
-</body>
-</html>
View
113 doc/files/lib/rfactor_rb.html
@@ -1,113 +0,0 @@
-<?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: rfactor.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>rfactor.rb</h1>
- <table class="header-table">
- <tr class="top-aligned-row">
- <td><strong>Path:</strong></td>
- <td>lib/rfactor.rb
- </td>
- </tr>
- <tr class="top-aligned-row">
- <td><strong>Last Update:</strong></td>
- <td>Fri Feb 06 00:49:08 -0200 2009</td>
- </tr>
- </table>
- </div>
- <!-- banner header -->
-
- <div id="bodyContent">
-
-
-
- <div id="contextContent">
-
-
- <div id="requires-list">
- <h3 class="section-bar">Required files</h3>
-
- <div class="name-list">
- rubygems&nbsp;&nbsp;
- ruby_parser&nbsp;&nbsp;
- sexp_processor&nbsp;&nbsp;
- rfactor/string_ext&nbsp;&nbsp;
- rfactor/line_finder&nbsp;&nbsp;
- rfactor/code&nbsp;&nbsp;
- </div>
- </div>
-
- </div>
-
-
- </div>
-
-
- <!-- if includes -->
-
- <div id="section">
-
-
-
-
-
-
-
-
- <!-- if method_list -->
-
-
- </div>
-
-
-<div id="validator-badges">
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
-</div>
-
-</body>
-</html>
View
31 doc/fr_class_index.html
@@ -1,31 +0,0 @@
-
-<?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">
-
-<!--
-
- Classes
-
- -->
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <title>Classes</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- <link rel="stylesheet" href="rdoc-style.css" type="text/css" />
- <base target="docwin" />
-</head>
-<body>
-<div id="index">
- <h1 class="section-bar">Classes</h1>
- <div id="index-entries">
- <a href="classes/Rfactor.html">Rfactor</a><br />
- <a href="classes/Rfactor/Code.html">Rfactor::Code</a><br />
- <a href="classes/Rfactor/LineFinder.html">Rfactor::LineFinder</a><br />
- <a href="classes/Rfactor/MethodLineFinderProcessor.html">Rfactor::MethodLineFinderProcessor</a><br />
- <a href="classes/String.html">String</a><br />
- </div>
-</div>
-</body>
-</html>
View
33 doc/fr_file_index.html
@@ -1,33 +0,0 @@
-
-<?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">
-
-<!--
-
- Files
-
- -->
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <title>Files</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- <link rel="stylesheet" href="rdoc-style.css" type="text/css" />
- <base target="docwin" />
-</head>
-<body>
-<div id="index">
- <h1 class="section-bar">Files</h1>
- <div id="index-entries">
- <a href="files/History_txt.html">History.txt</a><br />
- <a href="files/PostInstall_txt.html">PostInstall.txt</a><br />
- <a href="files/README_rdoc.html">README.rdoc</a><br />
- <a href="files/lib/rfactor_rb.html">lib/rfactor.rb</a><br />
- <a href="files/lib/rfactor/code_rb.html">lib/rfactor/code.rb</a><br />
- <a href="files/lib/rfactor/line_finder_rb.html">lib/rfactor/line_finder.rb</a><br />
- <a href="files/lib/rfactor/string_ext_rb.html">lib/rfactor/string_ext.rb</a><br />
- </div>
-</div>
-</body>
-</html>
View
34 doc/fr_method_index.html
@@ -1,34 +0,0 @@
-
-<?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">
-
-<!--
-
- Methods
-
- -->
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <title>Methods</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- <link rel="stylesheet" href="rdoc-style.css" type="text/css" />
- <base target="docwin" />
-</head>
-<body>
-<div id="index">
- <h1 class="section-bar">Methods</h1>
- <div id="index-entries">
- <a href="classes/Rfactor/Code.html#M000004">extract_method (Rfactor::Code)</a><br />
- <a href="classes/String.html#M000001">last_line (String)</a><br />
- <a href="classes/Rfactor/LineFinder.html#M000008">method_lines (Rfactor::LineFinder)</a><br />
- <a href="classes/Rfactor/Code.html#M000003">new (Rfactor::Code)</a><br />
- <a href="classes/Rfactor/LineFinder.html#M000007">new (Rfactor::LineFinder)</a><br />
- <a href="classes/Rfactor/MethodLineFinderProcessor.html#M000005">new (Rfactor::MethodLineFinderProcessor)</a><br />
- <a href="classes/Rfactor/MethodLineFinderProcessor.html#M000006">process_defn (Rfactor::MethodLineFinderProcessor)</a><br />
- <a href="classes/String.html#M000002">strip_blank_lines_at_end (String)</a><br />
- </div>
-</div>
-</body>
-</html>
View
24 doc/index.html
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
-
-<!--
-
- rfactor-0.0.2 Documentation
-
- -->
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <title> rfactor-0.0.2 Documentation</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-</head>
-<frameset rows="20%, 80%">
- <frameset cols="25%,35%,45%">
- <frame src="fr_file_index.html" title="Files" name="Files" />
- <frame src="fr_class_index.html" name="Classes" />
- <frame src="fr_method_index.html" name="Methods" />
- </frameset>
- <frame src="files/README_rdoc.html" name="docwin" />
-</frameset>
-</html>
View
208 doc/rdoc-style.css
@@ -1,208 +0,0 @@
-
-body {
- font-family: Verdana,Arial,Helvetica,sans-serif;
- font-size: 90%;
- margin: 0;
- margin-left: 40px;
- padding: 0;
- background: white;
-}
-
-h1,h2,h3,h4 { margin: 0; color: #efefef; background: transparent; }
-h1 { font-size: 150%; }
-h2,h3,h4 { margin-top: 1em; }
-
-a { background: #eef; color: #039; text-decoration: none; }
-a:hover { background: #039; color: #eef; }
-
-/* Override the base stylesheet's Anchor inside a table cell */
-td > a {
- background: transparent;
- color: #039;
- text-decoration: none;
-}
-
-/* and inside a section title */
-.section-title > a {
- background: transparent;
- color: #eee;
- text-decoration: none;
-}
-
-/* === Structural elements =================================== */
-
-div#index {
- margin: 0;
- margin-left: -40px;
- padding: 0;
- font-size: 90%;
-}
-
-
-div#index a {
- margin-left: 0.7em;
-}
-
-div#index .section-bar {
- margin-left: 0px;
- padding-left: 0.7em;
- background: #ccc;
- font-size: small;
-}
-
-
-div#classHeader, div#fileHeader {
- width: auto;
- color: white;
- padding: 0.5em 1.5em 0.5em 1.5em;
- margin: 0;
- margin-left: -40px;
- border-bottom: 3px solid #006;
-}
-
-div#classHeader a, div#fileHeader a {
- background: inherit;
- color: white;
-}
-
-div#classHeader td, div#fileHeader td {
- background: inherit;
- color: white;
-}
-
-
-div#fileHeader {
- background: #057;
-}
-
-div#classHeader {
- background: #048;
-}
-
-
-.class-name-in-header {
- font-size: 180%;
- font-weight: bold;
-}
-
-
-div#bodyContent {
- padding: 0 1.5em 0 1.5em;
-}
-
-div#description {
- padding: 0.5em 1.5em;
- background: #efefef;
- border: 1px dotted #999;
-}
-
-div#description h1,h2,h3,h4,h5,h6 {
- color: #125;;
- background: transparent;
-}
-
-div#validator-badges {
- text-align: center;
-}
-div#validator-badges img { border: 0; }
-
-div#copyright {
- color: #333;
- background: #efefef;
- font: 0.75em sans-serif;
- margin-top: 5em;
- margin-bottom: 0;
- padding: 0.5em 2em;
-}
-
-
-/* === Classes =================================== */
-
-table.header-table {
- color: white;
- font-size: small;
-}
-
-.type-note {
- font-size: small;
- color: #DEDEDE;
-}
-
-.xxsection-bar {
- background: #eee;
- color: #333;
- padding: 3px;
-}