Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed old website superseded by github, an old version of the gem i…

…n the pkg directory, and some pre-rubygems scrips
  • Loading branch information...
commit f048eb5543404414d97de4228640c22278cd8a29 1 parent 51aed1c
@archiloque archiloque authored
Showing with 14 additions and 8,147 deletions.
  1. +0 −17 Manifest.txt
  2. +0 −4 Rakefile
  3. +14 −25 andand.gemspec
  4. +0 −70 config/hoe.rb
  5. +0 −20 config/requirements.rb
  6. +0 −114 doc/classes/AndAnd.html
  7. +0 −152 doc/classes/AndAnd/BlankSlate.html
  8. +0 −18 doc/classes/AndAnd/BlankSlate.src/M000007.html
  9. +0 −18 doc/classes/AndAnd/BlankSlate.src/M000008.html
  10. +0 −163 doc/classes/AndAnd/MockReturningMe.html
  11. +0 −19 doc/classes/AndAnd/MockReturningMe.src/M000005.html
  12. +0 −18 doc/classes/AndAnd/MockReturningMe.src/M000006.html
  13. +0 −242 doc/classes/AndAnd/ObjectGoodies.html
  14. +0 −32 doc/classes/AndAnd/ObjectGoodies.src/M000001.html
  15. +0 −26 doc/classes/AndAnd/ObjectGoodies.src/M000002.html
  16. +0 −24 doc/classes/AndAnd/ObjectGoodies.src/M000004.html
  17. +0 −163 doc/classes/AndAnd/ProxyReturningMe.html
  18. +0 −19 doc/classes/AndAnd/ProxyReturningMe.src/M000009.html
  19. +0 −19 doc/classes/AndAnd/ProxyReturningMe.src/M000010.html
  20. +0 −120 doc/classes/Object.html
  21. +0 −1  doc/created.rid
  22. +0 −163 doc/files/History_txt.html
  23. +0 −134 doc/files/License_txt.html
  24. +0 −135 doc/files/README_txt.html
  25. +0 −101 doc/files/lib/andand/version_rb.html
  26. +0 −101 doc/files/lib/andand_rb.html
  27. +0 −374 doc/files/website/index_txt.html
  28. +0 −32 doc/fr_class_index.html
  29. +0 −32 doc/fr_file_index.html
  30. +0 −36 doc/fr_method_index.html
  31. +0 −24 doc/index.html
  32. +0 −208 doc/rdoc-style.css
  33. BIN  pkg/andand-1.3.1.gem
  34. BIN  pkg/andand-1.3.1.tgz
  35. +0 −16 pkg/andand-1.3.1/History.txt
  36. +0 −26 pkg/andand-1.3.1/License.txt
  37. +0 −24 pkg/andand-1.3.1/Manifest.txt
  38. +0 −17 pkg/andand-1.3.1/README.txt
  39. +0 −4 pkg/andand-1.3.1/Rakefile
  40. +0 −70 pkg/andand-1.3.1/config/hoe.rb
  41. +0 −17 pkg/andand-1.3.1/config/requirements.rb
  42. +0 −148 pkg/andand-1.3.1/lib/andand.rb
  43. +0 −9 pkg/andand-1.3.1/lib/andand/version.rb
  44. 0  pkg/andand-1.3.1/log/debug.log
  45. +0 −14 pkg/andand-1.3.1/script/destroy
  46. +0 −14 pkg/andand-1.3.1/script/generate
  47. +0 −74 pkg/andand-1.3.1/script/txt2html
  48. +0 −1,585 pkg/andand-1.3.1/setup.rb
  49. +0 −34 pkg/andand-1.3.1/tasks/deployment.rake
  50. +0 −7 pkg/andand-1.3.1/tasks/environment.rake
  51. +0 −17 pkg/andand-1.3.1/tasks/website.rake
  52. +0 −11 pkg/andand-1.3.1/test/test_andand.rb
  53. +0 −2  pkg/andand-1.3.1/test/test_helper.rb
  54. +0 −230 pkg/andand-1.3.1/website/index.html
  55. +0 −136 pkg/andand-1.3.1/website/index.txt
  56. +0 −285 pkg/andand-1.3.1/website/javascripts/rounded_corners_lite.inc.js
  57. +0 −138 pkg/andand-1.3.1/website/stylesheets/screen.css
  58. +0 −50 pkg/andand-1.3.1/website/template.rhtml
  59. +0 −14 script/destroy
  60. +0 −14 script/generate
  61. +0 −74 script/txt2html
  62. +0 −1,585 setup.rb
  63. +0 −34 tasks/deployment.rake
  64. +0 −7 tasks/environment.rake
  65. +0 −17 tasks/website.rake
  66. +0 −11 test/test_andand.rb
  67. +0 −230 website/index.html
  68. +0 −136 website/index.txt
  69. +0 −285 website/javascripts/rounded_corners_lite.inc.js
  70. +0 −138 website/stylesheets/screen.css
  71. +0 −50 website/template.rhtml
View
17 Manifest.txt
@@ -1,17 +0,0 @@
-History.txt
-License.txt
-Manifest.txt
-README.txt
-Rakefile
-config/hoe.rb
-config/requirements.rb
-lib/andand.rb
-lib/andand/version.rb
-script/destroy
-script/generate
-script/txt2html
-setup.rb
-tasks/deployment.rake
-tasks/environment.rake
-test/test_andand.rb
-test/test_helper.rb
View
4 Rakefile
@@ -1,4 +0,0 @@
-require 'config/requirements'
-require 'config/hoe' # setup Hoe + all gem configuration
-
-Dir['tasks/**/*.rake'].each { |rake| load rake }
View
39 andand.gemspec
@@ -1,31 +1,20 @@
Gem::Specification.new do |s|
- s.name = "andand"
- s.version = "1.3.2"
- s.date = "2008-11-07"
- s.summary = "The Maybe Monad in idiomatic Ruby"
- s.email = "reg@braythwayt.com"
+ s.name = "andand"
+ s.version = "1.3.2"
+ s.date = "2008-11-07"
+ s.summary = "The Maybe Monad in idiomatic Ruby"
+ s.email = "reg@braythwayt.com"
s.homepage = "http://github.com/raganwald/andand/tree/master"
s.description = " Maybe Monad in idiomatic Ruby."
- s.authors = ["Reg Braithwaite"]
- s.files = ["History.txt",
-"License.txt",
-"Manifest.txt",
-"README.textile",
-"Rakefile",
-"config/hoe.rb",
-"config/requirements.rb",
-"lib/andand.rb",
-"lib/andand/version.rb",
-"log/debug.log",
-"script/destroy",
-"script/generate",
-"script/txt2html",
-"setup.rb",
-"tasks/deployment.rake",
-"tasks/environment.rake"]
+ s.authors = ["Reg Braithwaite"]
+ s.files = ["History.txt",
+ "License.txt",
+ "README.textile",
+ "lib/andand.rb",
+ "lib/andand/version.rb"]
s.test_files = [
-"test/test_andand.rb",
-"test/test_helper.rb"]
+ "test/andand_spec.rb",
+ "test/test_helper.rb"]
s.rdoc_options = ["--main", "README.textile"]
- s.extra_rdoc_files = ["History.txt", "Manifest.txt", "README.textile"]
+ s.extra_rdoc_files = ["History.txt", "README.textile"]
end
View
70 config/hoe.rb
@@ -1,70 +0,0 @@
-require 'andand/version'
-
-AUTHOR = 'Reginald Braithwaite' # can also be an array of Authors
-EMAIL = "reg@braythwayt.com"
-DESCRIPTION = "adds guarded method invocation to Ruby"
-GEM_NAME = 'andand' # what ppl will type to install your gem
-RUBYFORGE_PROJECT = 'andand' # The unix name for your project
-HOMEPATH = "http://#{RUBYFORGE_PROJECT}.rubyforge.org"
-DOWNLOAD_PATH = "http://rubyforge.org/projects/#{RUBYFORGE_PROJECT}"
-
-@config_file = "~/.rubyforge/user-config.yml"
-@config = nil
-RUBYFORGE_USERNAME = "raganwald"
-def rubyforge_username
- unless @config
- begin
- @config = YAML.load(File.read(File.expand_path(@config_file)))
- rescue
- puts <<-EOS
-ERROR: No rubyforge config file found: #{@config_file}
-Run 'rubyforge setup' to prepare your env for access to Rubyforge
- - See http://newgem.rubyforge.org/rubyforge.html for more details
- EOS
- exit
- end
- end
- RUBYFORGE_USERNAME.replace @config["username"]
-end
-
-
-REV = nil
-# UNCOMMENT IF REQUIRED:
-# REV = `svn info`.each {|line| if line =~ /^Revision:/ then k,v = line.split(': '); break v.chomp; else next; end} rescue nil
-VERS = Andand::VERSION::STRING + (REV ? ".#{REV}" : "")
-RDOC_OPTS = ['--quiet', '--title', 'andand documentation',
- "--opname", "index.html",
- "--line-numbers",
- "--main", "README",
- "--inline-source"]
-
-class Hoe
- def extra_deps
- @extra_deps.reject! { |x| Array(x).first == 'hoe' }
- @extra_deps
- end
-end
-
-# Generate all the Rake tasks
-# Run 'rake -T' to see list of generated tasks (from gem root directory)
-hoe = Hoe.new(GEM_NAME, VERS) do |p|
- p.developer(AUTHOR, EMAIL)
- p.description = DESCRIPTION
- p.summary = DESCRIPTION
- p.url = HOMEPATH
- p.rubyforge_name = RUBYFORGE_PROJECT if RUBYFORGE_PROJECT
- p.test_globs = ["test/**/test_*.rb"]
- p.clean_globs |= ['**/.*.sw?', '*.gem', '.config', '**/.DS_Store'] #An array of file patterns to delete on clean.
-
- # == Optional
- p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
- #p.extra_deps = [] # An array of rubygem dependencies [name, version], e.g. [ ['active_support', '>= 1.3.1'] ]
-
- #p.spec_extras = {} # A hash of extra values to set in the gemspec.
-
-end
-
-CHANGES = hoe.paragraphs_of('History.txt', 0..1).join("\\n\\n")
-PATH = (RUBYFORGE_PROJECT == GEM_NAME) ? RUBYFORGE_PROJECT : "#{RUBYFORGE_PROJECT}/#{GEM_NAME}"
-hoe.remote_rdoc_dir = File.join(PATH.gsub(/^#{RUBYFORGE_PROJECT}\/?/,''), 'rdoc')
-hoe.rsync_args = '-av --delete --ignore-errors'
View
20 config/requirements.rb
@@ -1,20 +0,0 @@
-require 'fileutils'
-include FileUtils
-
-require 'rubygems'
-%w[rake hoe newgem rubigen].each do |req_gem|
- begin
- require req_gem
- rescue LoadError => e
- if r = e.to_s.match(/Could not find RubyGem (.*?) \(/)
- req_gem = r[1]
- end
- puts "This Rakefile requires the '#{req_gem}' RubyGem."
- puts "Installation: gem install #{req_gem} -y"
- exit
- end
-end
-
-$:.unshift(File.join(File.dirname(__FILE__), %w[.. lib]))
-
-require 'andand'
View
114 doc/classes/AndAnd.html
@@ -1,114 +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: AndAnd</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">AndAnd</td>
- </tr>
- <tr class="top-aligned-row">
- <td><strong>In:</strong></td>
- <td>
- <a href="../files/lib/andand_rb.html">
- lib/andand.rb
- </a>
- <br />
- </td>
- </tr>
-
- </table>
- </div>
- <!-- banner header -->
-
- <div id="bodyContent">
-
-
-
- <div id="contextContent">
-
-
-
- </div>
-
-
- </div>
-
-
- <!-- if includes -->
-
- <div id="section">
-
- <div id="class-list">
- <h3 class="section-bar">Classes and Modules</h3>
-
- Module <a href="AndAnd/ObjectGoodies.html" class="link">AndAnd::ObjectGoodies</a><br />
-Class <a href="AndAnd/BlankSlate.html" class="link">AndAnd::BlankSlate</a><br />
-Class <a href="AndAnd/MockReturningMe.html" class="link">AndAnd::MockReturningMe</a><br />
-Class <a href="AndAnd/ProxyReturningMe.html" class="link">AndAnd::ProxyReturningMe</a><br />
-
- </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
152 doc/classes/AndAnd/BlankSlate.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: AndAnd::BlankSlate</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">AndAnd::BlankSlate</td>
- </tr>
- <tr class="top-aligned-row">
- <td><strong>In:</strong></td>
- <td>
- <a href="../../files/lib/andand_rb.html">
- lib/andand.rb
- </a>
- <br />
- </td>
- </tr>
-
- <tr class="top-aligned-row">
- <td><strong>Parent:</strong></td>
- <td>
- BasicObject
- </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">new</a>&nbsp;&nbsp;
- <a href="#M000007">wipe</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-M000008" class="method-detail">
- <a name="M000008"></a>
-
- <div class="method-heading">
- <a href="BlankSlate.src/M000008.html" target="Code" class="method-signature"
- onclick="popupCode('BlankSlate.src/M000008.html');return false;">
- <span class="method-name">new</span><span class="method-args">()</span>
- </a>
- </div>
-
- <div class="method-description">
- </div>
- </div>
-
- <div id="method-M000007" class="method-detail">
- <a name="M000007"></a>
-
- <div class="method-heading">
- <a href="BlankSlate.src/M000007.html" target="Code" class="method-signature"
- onclick="popupCode('BlankSlate.src/M000007.html');return false;">
- <span class="method-name">wipe</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
18 doc/classes/AndAnd/BlankSlate.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>wipe (AndAnd::BlankSlate)</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/andand.rb, line 110</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">wipe</span>
- <span class="ruby-identifier">instance_methods</span>.<span class="ruby-identifier">reject</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span> <span class="ruby-identifier">m</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/^__/</span> }.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span> <span class="ruby-identifier">undef_method</span> <span class="ruby-identifier">m</span> }
- <span class="ruby-keyword kw">end</span></pre>
-</body>
-</html>
View
18 doc/classes/AndAnd/BlankSlate.src/M000008.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 (AndAnd::BlankSlate)</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/andand.rb, line 113</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
- <span class="ruby-constant">BlankSlate</span>.<span class="ruby-identifier">wipe</span>
- <span class="ruby-keyword kw">end</span></pre>
-</body>
-</html>
View
163 doc/classes/AndAnd/MockReturningMe.html
@@ -1,163 +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: AndAnd::MockReturningMe</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">AndAnd::MockReturningMe</td>
- </tr>
- <tr class="top-aligned-row">
- <td><strong>In:</strong></td>
- <td>
- <a href="../../files/lib/andand_rb.html">
- lib/andand.rb
- </a>
- <br />
- </td>
- </tr>
-
- <tr class="top-aligned-row">
- <td><strong>Parent:</strong></td>
- <td>
- <a href="BlankSlate.html">
- BlankSlate
- </a>
- </td>
- </tr>
- </table>
- </div>
- <!-- banner header -->
-
- <div id="bodyContent">
-
-
-
- <div id="contextContent">
-
- <div id="description">
- <p>
-A proxy that returns its target without invoking the method you invoke.
-Useful for nil.andand and dont
-</p>
-
- </div>
-
-
- </div>
-
- <div id="method-list">
- <h3 class="section-bar">Methods</h3>
-
- <div class="name-list">
- <a href="#M000006">method_missing</a>&nbsp;&nbsp;
- <a href="#M000005">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-M000005" class="method-detail">
- <a name="M000005"></a>
-
- <div class="method-heading">
- <a href="MockReturningMe.src/M000005.html" target="Code" class="method-signature"
- onclick="popupCode('MockReturningMe.src/M000005.html');return false;">
- <span class="method-name">new</span><span class="method-args">(me)</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="MockReturningMe.src/M000006.html" target="Code" class="method-signature"
- onclick="popupCode('MockReturningMe.src/M000006.html');return false;">
- <span class="method-name">method_missing</span><span class="method-args">(*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
19 doc/classes/AndAnd/MockReturningMe.src/M000005.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 (AndAnd::MockReturningMe)</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/andand.rb, line 126</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">me</span>)
- <span class="ruby-keyword kw">super</span>()
- <span class="ruby-ivar">@me</span> = <span class="ruby-identifier">me</span>
- <span class="ruby-keyword kw">end</span></pre>
-</body>
-</html>
View
18 doc/classes/AndAnd/MockReturningMe.src/M000006.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>method_missing (AndAnd::MockReturningMe)</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/andand.rb, line 130</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
- <span class="ruby-ivar">@me</span>
- <span class="ruby-keyword kw">end</span></pre>
-</body>
-</html>
View
242 doc/classes/AndAnd/ObjectGoodies.html
@@ -1,242 +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: AndAnd::ObjectGoodies</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">AndAnd::ObjectGoodies</td>
- </tr>
- <tr class="top-aligned-row">
- <td><strong>In:</strong></td>
- <td>
- <a href="../../files/lib/andand_rb.html">
- lib/andand.rb
- </a>
- <br />
- </td>
- </tr>
-
- </table>
- </div>
- <!-- banner header -->
-
- <div id="bodyContent">
-
-
-
- <div id="contextContent">
-
- <div id="description">
- <p>
-This module is included in <a href="../Object.html">Object</a>, so each of
-these methods are added to <a href="../Object.html">Object</a> when you
-require &#8216;<a href="ObjectGoodies.html#M000001">andand</a>&#8217;. Each
-method is an <b>adverb</b>: they are intended to be enchained with another
-method, such as receiver.adverb.method
-</p>
-<p>
-The purpose of an adverb is to modify what the primary method returns.
-</p>
-<p>
-Adverbs also take blocks or procs, passing the receiver as an argument to
-the block or proc. They retain the same semantics with a block or proc as
-they do with a method. This behaviour weakly resembles a monad.
-</p>
-
- </div>
-
-
- </div>
-
- <div id="method-list">
- <h3 class="section-bar">Methods</h3>
-
- <div class="name-list">
- <a href="#M000001">andand</a>&nbsp;&nbsp;
- <a href="#M000004">dont</a>&nbsp;&nbsp;
- <a href="#M000002">me</a>&nbsp;&nbsp;
- <a href="#M000003">tap</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="ObjectGoodies.src/M000001.html" target="Code" class="method-signature"
- onclick="popupCode('ObjectGoodies.src/M000001.html');return false;">
- <span class="method-name">andand</span><span class="method-args">(p = nil) {|self| ...}</span>
- </a>
- </div>
-
- <div class="method-description">
- <p>
-Returns nil if its receiver is nil, regardless of whether nil actually
-handles the actual method ot what it might return.
-</p>
-<pre>
- 'foo'.andand.size =&gt; 3
- nil.andand.size =&gt; nil
- 'foo'.andand { |s| s &lt;&lt; 'bar' } =&gt; 'foobar'
- nil.andand { |s| s &lt;&lt; 'bar' } =&gt; nil
-</pre>
- </div>
- </div>
-
- <div id="method-M000004" class="method-detail">
- <a name="M000004"></a>
-
- <div class="method-heading">
- <a href="ObjectGoodies.src/M000004.html" target="Code" class="method-signature"
- onclick="popupCode('ObjectGoodies.src/M000004.html');return false;">
- <span class="method-name">dont</span><span class="method-args">(p = nil)</span>
- </a>
- </div>
-
- <div class="method-description">
- <p>
-Does not invoke the method or block and returns the receiver. Useful for
-comemnting stuff out, especially if you are using <a
-href="ObjectGoodies.html#M000002">me</a> for debugging purposes: change the
-.<a href="ObjectGoodies.html#M000002">me</a> to .<a
-href="ObjectGoodies.html#M000004">dont</a> and the semantics of your
-program are unchanged.
-</p>
-<pre>
- [1, 2, 3, 4, 5].me { |x| p x }
- =&gt; prints and returns the array
- [1, 2, 3, 4, 5].dont { |x| p x }
- =&gt; returns the array without printing it
-</pre>
- </div>
- </div>
-
- <div id="method-M000002" class="method-detail">
- <a name="M000002"></a>
-
- <div class="method-heading">
- <a href="ObjectGoodies.src/M000002.html" target="Code" class="method-signature"
- onclick="popupCode('ObjectGoodies.src/M000002.html');return false;">
- <span class="method-name">me</span><span class="method-args">(p = nil) {|self| ...}</span>
- </a>
- </div>
-
- <div class="method-description">
- <p>
-Invokes the method and returns the receiver if nothing is raised.
-Therefore, the purpose of calling the method is strictly for side effects.
-In the block form, it resembles <a
-href="ObjectGoodies.html#M000003">tap</a> from Ruby 1.9, and is useful for
-debugging. It also resembles returning from Rails, with slightly different
-syntax.
-</p>
-<pre>
- Object.new.me do |o|
- def o.foo
- 'foo'
- end
- end
- =&gt; your new object
-</pre>
-<p>
-In the method form, it is handy for chaining methods that don&#8216;t
-ordinarily return the receiver:
-</p>
-<pre>
- [1, 2, 3, 4, 5].me.pop.reverse
- =&gt; [4, 3, 2, 1]
-</pre>
- </div>
- </div>
-
- <div id="method-M000003" class="method-detail">
- <a name="M000003"></a>
-
- <div class="method-heading">
- <span class="method-name">tap</span><span class="method-args">(p = nil)</span>
- </div>
-
- <div class="method-description">
- <p>
-Alias for <a href="ObjectGoodies.html#M000002">me</a>
-</p>
- </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
32 doc/classes/AndAnd/ObjectGoodies.src/M000001.html
@@ -1,32 +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>andand (AndAnd::ObjectGoodies)</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/andand.rb, line 23</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">andand</span> (<span class="ruby-identifier">p</span> = <span class="ruby-keyword kw">nil</span>)
- <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span>
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
- <span class="ruby-keyword kw">yield</span>(<span class="ruby-keyword kw">self</span>)
- <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">p</span>
- <span class="ruby-identifier">p</span>.<span class="ruby-identifier">to_proc</span>.<span class="ruby-identifier">call</span>(<span class="ruby-keyword kw">self</span>)
- <span class="ruby-keyword kw">else</span>
- <span class="ruby-keyword kw">self</span>
- <span class="ruby-keyword kw">end</span>
- <span class="ruby-keyword kw">else</span>
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span> <span class="ruby-keyword kw">or</span> <span class="ruby-identifier">p</span>
- <span class="ruby-keyword kw">self</span>
- <span class="ruby-keyword kw">else</span>
- <span class="ruby-constant">MockReturningMe</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>)
- <span class="ruby-keyword kw">end</span>
- <span class="ruby-keyword kw">end</span>
- <span class="ruby-keyword kw">end</span></pre>
-</body>
-</html>
View
26 doc/classes/AndAnd/ObjectGoodies.src/M000002.html
@@ -1,26 +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>me (AndAnd::ObjectGoodies)</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/andand.rb, line 58</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">me</span> (<span class="ruby-identifier">p</span> = <span class="ruby-keyword kw">nil</span>)
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
- <span class="ruby-keyword kw">yield</span>(<span class="ruby-keyword kw">self</span>)
- <span class="ruby-keyword kw">self</span>
- <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">p</span>
- <span class="ruby-identifier">p</span>.<span class="ruby-identifier">to_proc</span>.<span class="ruby-identifier">call</span>(<span class="ruby-keyword kw">self</span>)
- <span class="ruby-keyword kw">self</span>
- <span class="ruby-keyword kw">else</span>
- <span class="ruby-constant">ProxyReturningMe</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>)
- <span class="ruby-keyword kw">end</span>
- <span class="ruby-keyword kw">end</span></pre>
-</body>
-</html>
View
24 doc/classes/AndAnd/ObjectGoodies.src/M000004.html
@@ -1,24 +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>dont (AndAnd::ObjectGoodies)</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/andand.rb, line 83</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">dont</span> (<span class="ruby-identifier">p</span> = <span class="ruby-keyword kw">nil</span>)
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
- <span class="ruby-keyword kw">self</span>
- <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">p</span>
- <span class="ruby-keyword kw">self</span>
- <span class="ruby-keyword kw">else</span>
- <span class="ruby-constant">MockReturningMe</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>)
- <span class="ruby-keyword kw">end</span>
- <span class="ruby-keyword kw">end</span></pre>
-</body>
-</html>
View
163 doc/classes/AndAnd/ProxyReturningMe.html
@@ -1,163 +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: AndAnd::ProxyReturningMe</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">AndAnd::ProxyReturningMe</td>
- </tr>
- <tr class="top-aligned-row">
- <td><strong>In:</strong></td>
- <td>
- <a href="../../files/lib/andand_rb.html">
- lib/andand.rb
- </a>
- <br />
- </td>
- </tr>
-
- <tr class="top-aligned-row">
- <td><strong>Parent:</strong></td>
- <td>
- <a href="BlankSlate.html">
- BlankSlate
- </a>
- </td>
- </tr>
- </table>
- </div>
- <!-- banner header -->
-
- <div id="bodyContent">
-
-
-
- <div id="contextContent">
-
- <div id="description">
- <p>
-A proxy that returns its target after invoking the method you invoke.
-Useful for me
-</p>
-
- </div>
-
-
- </div>
-
- <div id="method-list">
- <h3 class="section-bar">Methods</h3>
-
- <div class="name-list">
- <a href="#M000010">method_missing</a>&nbsp;&nbsp;
- <a href="#M000009">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-M000009" class="method-detail">
- <a name="M000009"></a>
-
- <div class="method-heading">
- <a href="ProxyReturningMe.src/M000009.html" target="Code" class="method-signature"
- onclick="popupCode('ProxyReturningMe.src/M000009.html');return false;">
- <span class="method-name">new</span><span class="method-args">(me)</span>
- </a>
- </div>
-
- <div class="method-description">
- </div>
- </div>
-
- <h3 class="section-bar">Public Instance methods</h3>
-
- <div id="method-M000010" class="method-detail">
- <a name="M000010"></a>
-
- <div class="method-heading">
- <a href="ProxyReturningMe.src/M000010.html" target="Code" class="method-signature"
- onclick="popupCode('ProxyReturningMe.src/M000010.html');return false;">
- <span class="method-name">method_missing</span><span class="method-args">(sym, *args, &amp;block)</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
19 doc/classes/AndAnd/ProxyReturningMe.src/M000009.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 (AndAnd::ProxyReturningMe)</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/andand.rb, line 138</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">me</span>)
- <span class="ruby-keyword kw">super</span>()
- <span class="ruby-ivar">@me</span> = <span class="ruby-identifier">me</span>
- <span class="ruby-keyword kw">end</span></pre>
-</body>
-</html>
View
19 doc/classes/AndAnd/ProxyReturningMe.src/M000010.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>method_missing (AndAnd::ProxyReturningMe)</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/andand.rb, line 142</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">sym</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
- <span class="ruby-ivar">@me</span>.<span class="ruby-identifier">__send__</span>(<span class="ruby-identifier">sym</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
- <span class="ruby-ivar">@me</span>
- <span class="ruby-keyword kw">end</span></pre>
-</body>
-</html>
View
120 doc/classes/Object.html
@@ -1,120 +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: Object</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">Object</td>
- </tr>
- <tr class="top-aligned-row">
- <td><strong>In:</strong></td>
- <td>
- <a href="../files/lib/andand_rb.html">
- lib/andand.rb
- </a>
- <br />
- </td>
- </tr>
-
- <tr class="top-aligned-row">
- <td><strong>Parent:</strong></td>
- <td>
- <a href="Object.html">
- Object
- </a>
- </td>
- </tr>
- </table>
- </div>
- <!-- banner header -->
-
- <div id="bodyContent">
-
-
-
- <div id="contextContent">
-
-
-
- </div>
-
-
- </div>
-
-
- <!-- if includes -->
- <div id="includes">
- <h3 class="section-bar">Included Modules</h3>
-
- <div id="includes-list">
- <span class="include-name"><a href="AndAnd/ObjectGoodies.html">AndAnd::ObjectGoodies</a></span>
- </div>
- </div>
-
- <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
1  doc/created.rid
@@ -1 +0,0 @@
-Sun, 13 Jul 2008 00:34:44 -0400
View
163 doc/files/History_txt.html
@@ -1,163 +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>Sun Jul 13 00:34:14 -0400 2008</td>
- </tr>
- </table>
- </div>
- <!-- banner header -->
-
- <div id="bodyContent">
-
-
-
- <div id="contextContent">
-
- <div id="description">
- <h2>1.3.1 2008-07-12</h2>
-<ul>
-<li>1 major enhancement:
-
-<ul>
-<li>Initial release
-
-</li>
-</ul>
-</li>
-<li>2 tiny enhancement:
-
-<ul>
-<li>fixed specifications
-
-</li>
-</ul>
-</li>
-<li>3 minor enhancement
-
-<ul>
-<li>tap is now a synonym for me
-
-</li>
-</ul>
-</li>
-<li>4 minor enhancement
-
-<ul>
-<li>Object#dont
-
-</li>
-</ul>
-</li>
-<li>5 bug fix
-
-<ul>
-<li>Plays well with other patch-artists
-
-</li>
-</ul>
-</li>
-<li>6 minor enhancement
-
-<ul>
-<li>uses existing BlankSlate class if already defined
-
-</li>
-</ul>
-</li>
-<li>7 tiny enhancement
-
-<ul>
-<li>use BasicObject as well
-
-</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
134 doc/files/License_txt.html
@@ -1,134 +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: License.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>License.txt</h1>
- <table class="header-table">
- <tr class="top-aligned-row">
- <td><strong>Path:</strong></td>
- <td>License.txt
- </td>
- </tr>
- <tr class="top-aligned-row">
- <td><strong>Last Update:</strong></td>
- <td>Sun Feb 03 13:07:10 -0500 2008</td>
- </tr>
- </table>
- </div>
- <!-- banner header -->
-
- <div id="bodyContent">
-
-
-
- <div id="contextContent">
-
- <div id="description">
- <p>
-Copyright (c) 2008 Reginald Braithwaite <a
-href="http://weblog.raganwald.com/2008/01/objectandand-objectme-in-ruby.html">weblog.raganwald.com/2008/01/objectandand-objectme-in-ruby.html</a>
-</p>
-<p>
-Permission is hereby granted, free of charge, to any person obtaining a
-copy of this software and associated documentation files (the
-&quot;Software&quot;), 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 &quot;AS IS&quot;, 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>
-<p>
-Some code adapted from Jim Weirich&#8216;s post: <a
-href="http://onestepback.org/index.cgi/Tech/Ruby/BlankSlate.rdoc">onestepback.org/index.cgi/Tech/Ruby/BlankSlate.rdoc</a>
-</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
135 doc/files/README_txt.html
@@ -1,135 +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.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>README.txt</h1>
- <table class="header-table">
- <tr class="top-aligned-row">
- <td><strong>Path:</strong></td>
- <td>README.txt
- </td>
- </tr>
- <tr class="top-aligned-row">
- <td><strong>Last Update:</strong></td>
- <td>Sun Feb 03 13:07:21 -0500 2008</td>
- </tr>
- </table>
- </div>
- <!-- banner header -->
-
- <div id="bodyContent">
-
-
-
- <div id="contextContent">
-
- <div id="description">
- <p>
-README
-</p>
-<p>
-andand is a method that provides _guarded method invocation_, analagous to
-the &amp;&amp; operator in Ruby, and especially &amp;&amp;=.
-</p>
-<p>
-For example:
-</p>
-<p>
-Instead of phone &amp;&amp; phone = phone.trim, Ruby lets you say phone
-&amp;&amp;= phone.trim. So with andand, instead of:
-</p>
-<p>
-phone &amp;&amp; phone.call
-</p>
-<p>
-We can write:
-</p>
-<p>
-phone.andand.call (A poor man&#8216;s attempt to write
-phone&amp;&amp;.call)
-</p>
-<p>
-See:
-</p>
-<p>
-<a
-href="http://weblog.raganwald.com/2008/01/objectandand-objectme-in-ruby.html">weblog.raganwald.com/2008/01/objectandand-objectme-in-ruby.html</a>
-</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/andand/version_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: version.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>version.rb</h1>
- <table class="header-table">
- <tr class="top-aligned-row">
- <td><strong>Path:</strong></td>
- <td>lib/andand/version.rb
- </td>
- </tr>
- <tr class="top-aligned-row">
- <td><strong>Last Update:</strong></td>
- <td>Sun Jul 13 00:34:17 -0400 2008</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/andand_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: andand.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>andand.rb</h1>
- <table class="header-table">
- <tr class="top-aligned-row">
- <td><strong>Path:</strong></td>
- <td>lib/andand.rb
- </td>
- </tr>
- <tr class="top-aligned-row">
- <td><strong>Last Update:</strong></td>
- <td>Sun Jul 13 00:27:13 -0400 2008</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
374 doc/files/website/index_txt.html
@@ -1,374 +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: index.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>index.txt</h1>
- <table class="header-table">
- <tr class="top-aligned-row">
- <td><strong>Path:</strong></td>
- <td>website/index.txt
- </td>
- </tr>
- <tr class="top-aligned-row">
- <td><strong>Last Update:</strong></td>
- <td>Sat Jul 12 23:56:15 -0400 2008</td>
- </tr>
- </table>
- </div>
- <!-- banner header -->
-
- <div id="bodyContent">
-
-
-
- <div id="contextContent">
-
- <div id="description">
- <p>
-h1. Object#andand
-</p>
-<p>
-h1. &amp;x2192; &#8216;andand&#8216;
-</p>
-<p>
-h2. What
-</p>
-<p>
-_Object#andand_ lets us write:
-</p>
-<p>
-&lt;pre syntax=&quot;ruby&quot;&gt; @phone = Location.find(:first,
-&#8230;elided&#8230; ).andand.phone &lt;/pre&gt;And get a _guarded method
-invocation_ or _safe navigation method_. This snippet performs a @.find@ on
-the Location class, then sends @.phone@ to the result _if the result is not
-nil_. If the result is nil, then the expression returns nil without
-throwing a NoMethodError.
-</p>
-<p>
-As Dejan Simic &quot;put it&quot;:<a
-href="http://rors.org/2008/3/18/andand">rors.org/2008/3/18/andand</a>:
-</p>
-<p>
-Why would you want to write this:
-</p>
-<p>
-&lt;pre syntax=&quot;ruby&quot;&gt; entry.at(&#8216;description&#8217;)
-&amp;&amp; entry.at(&#8216;description&#8217;).inner_text &lt;/pre&gt;when
-you can write this:
-</p>
-<p>
-&lt;pre syntax=&quot;ruby&quot;&gt;
-entry.at(&#8216;description&#8217;).andand.inner_text &lt;/pre&gt;Why
-indeed! As a bonus, install andand and you will also receive an enhanced
-Object#tap method, _at no extra charge_!
-</p>
-<p>
-h2. Installing
-</p>
-<p>
-&lt;pre syntax=&quot;ruby&quot;&gt;sudo gem install andand&lt;/pre&gt;
-</p>
-<p>
-h2. The basics
-</p>
-<p>
-h3. Object#andand
-</p>
-<p>
-Ruby programmers are familiar with the two _guarded assignment_ operators
-@&amp;&amp;=@ and @||=@. The typical use for them is when you have a
-variable that might be nil. For example:
-</p>
-<p>
-&lt;pre syntax=&quot;ruby&quot;&gt; first_name &amp;&amp;= @first_name.trim
-@phone ||= &#8216;612-777-9311&#8217; &lt;/pre&gt;You are trimming the
-first name provided it isn’t nil, and you are assigning
-‘612-777-9311’ to the phone if it <em>is</