incubator-deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject svn commit: r1003045 [19/24] - in /incubator/deltacloud/trunk: server/ site/api-docs/ site/api-docs/CloudClient/ site/api-docs/Deltacloud/ site/api-docs/Deltacloud/BaseDriver/ site/api-docs/Deltacloud/Drivers/ site/api-docs/Deltacloud/Drivers/Azure/ si...
Date Thu, 30 Sep 2010 12:48:04 GMT
Added: incubator/deltacloud/trunk/site/api-docs/Sinatra/RespondTo/Helpers.html
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/api-docs/Sinatra/RespondTo/Helpers.html?rev=1003045&view=auto
==============================================================================
--- incubator/deltacloud/trunk/site/api-docs/Sinatra/RespondTo/Helpers.html (added)
+++ incubator/deltacloud/trunk/site/api-docs/Sinatra/RespondTo/Helpers.html Thu Sep 30 12:48:00 2010
@@ -0,0 +1,737 @@
+<!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>
+    <meta name="Content-Type" content="text/html; charset=utf8" />
+<title>Module: Sinatra::RespondTo::Helpers</title>
+<link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" />
+<link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" charset="utf-8" />
+
+<script type="text/javascript" charset="utf-8">
+  relpath = '../..';
+  if (relpath != '') relpath += '/';
+</script>
+<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
+
+  </head>
+  <body>
+    <script type="text/javascript" charset="utf-8">
+      if (window.top.frames.main) document.body.className = 'frames';
+    </script>
+    
+    <div id="header">
+      <div id="menu">
+  
+    <a href="../../_index.html">Index (H)</a> &raquo; 
+    <span class='title'><span class='object_link'><a href="../../Sinatra.html" title="Sinatra (module)">Sinatra</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../RespondTo.html" title="Sinatra::RespondTo (module)">RespondTo</a></span></span>
+     &raquo; 
+    <span class="title">Helpers</span>
+  
+  
+  <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
+</div>
+
+      <div id="search">
+  <a id="class_list_link" href="#">Class List</a>
+  <a id="method_list_link" href="#">Method List</a>
+  <a id ="file_list_link" href="#">File List</a>
+</div>
+
+      <div class="clear"></div>
+    </div>
+    
+    <iframe id="search_frame"></iframe>
+    
+    <div id="content"><h1>Module: Sinatra::RespondTo::Helpers
+  
+  
+  
+</h1>
+
+<dl class="box">
+  
+  
+    
+  
+    
+  
+  
+  
+    <dt class="r1 last">Defined in:</dt>
+    <dd class="r1 last">lib/sinatra/respond_to.rb<span class="defines">,<br />
+  lib/sinatra/respond_to_old.rb</span>
+</dd>
+  
+</dl>
+<div class="clear"></div>
+
+<h2>Defined Under Namespace</h2>
+<p class="children">
+   
+    
+   
+    
+      <strong class="classes">Classes:</strong> <span class='object_link'><a href="Helpers/Format.html" title="Sinatra::RespondTo::Helpers::Format (class)">Format</a></span>
+    
+  
+</p>
+
+
+
+  
+    <h2>
+      Class Method Summary
+      <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
+    </h2>
+
+    <ul class="summary">
+      
+        <li class="public ">
+  <span class="summary_signature">
+    
+      <a href="#included-class_method" title="included (class method)">+ (Object) <strong>included</strong>(klass) </a>
+    
+
+    
+  </span>
+  
+  
+  
+  
+  
+  
+
+  
+    <span class="summary_desc"><div class='inline'><p>
+Patch the content_type function to remember the set type This helps cut
+down on time in the format helper so it doesn&#8217;t have to do a reverse
+lookup on the header.
+</p>
+</div></span>
+  
+</li>
+
+      
+        <li class="public ">
+  <span class="summary_signature">
+    
+      <a href="#mime_type-class_method" title="mime_type (class method)">+ (Object) <strong>mime_type</strong>(sym) </a>
+    
+
+    
+  </span>
+  
+  
+  
+  
+  
+  
+
+  
+    <span class="summary_desc"><div class='inline'></div></span>
+  
+</li>
+
+      
+    </ul>
+  
+    <h2>
+      Instance Method Summary
+      <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
+    </h2>
+
+    <ul class="summary">
+      
+        <li class="public ">
+  <span class="summary_signature">
+    
+      <a href="#charset-instance_method" title="#charset (instance method)">- (Object) <strong>charset</strong>(val = nil) </a>
+    
+
+    
+  </span>
+  
+  
+  
+  
+  
+  
+
+  
+    <span class="summary_desc"><div class='inline'></div></span>
+  
+</li>
+
+      
+        <li class="public ">
+  <span class="summary_signature">
+    
+      <a href="#extension-instance_method" title="#extension (instance method)">- (Object) <strong>extension</strong>(val = nil) </a>
+    
+
+    
+  </span>
+  
+  
+  
+  
+  
+  
+
+  
+    <span class="summary_desc"><div class='inline'><p>
+Extension holds trimmed extension.
+</p>
+</div></span>
+  
+</li>
+
+      
+        <li class="public ">
+  <span class="summary_signature">
+    
+      <a href="#format-instance_method" title="#format (instance method)">- (Object) <strong>format</strong>(val = nil) </a>
+    
+
+    
+  </span>
+  
+  
+  
+  
+  
+  
+
+  
+    <span class="summary_desc"><div class='inline'><p>
+This helper will holds current format.
+</p>
+</div></span>
+  
+</li>
+
+      
+        <li class="public ">
+  <span class="summary_signature">
+    
+      <a href="#match_accept_type-instance_method" title="#match_accept_type (instance method)">- (Object) <strong>match_accept_type</strong>(mime_types, format) </a>
+    
+
+    
+  </span>
+  
+  
+  
+  
+  
+  
+
+  
+    <span class="summary_desc"><div class='inline'></div></span>
+  
+</li>
+
+      
+        <li class="public ">
+  <span class="summary_signature">
+    
+      <a href="#respond_to-instance_method" title="#respond_to (instance method)">- (Object) <strong>respond_to</strong> {|wants| ... }</a>
+    
+
+    
+  </span>
+  
+  
+  
+  
+  
+  
+
+  
+    <span class="summary_desc"><div class='inline'></div></span>
+  
+</li>
+
+      
+        <li class="public ">
+  <span class="summary_signature">
+    
+      <a href="#static_file%3F-instance_method" title="#static_file? (instance method)">- (Boolean) <strong>static_file?</strong>(path) </a>
+    
+
+    
+  </span>
+  
+  
+  
+  
+  
+  
+
+  
+    <span class="summary_desc"><div class='inline'><p>
+This is mostly just a helper so request.path_info isn&#8217;t changed when
+serving files from the public directory.
+</p>
+</div></span>
+  
+</li>
+
+      
+    </ul>
+  
+
+
+
+  <div id="class_method_details" class="method_details_list">
+    <h2>Class Method Details</h2>
+    
+    
+      <div class="method_details first">
+  <p class="signature first" id="included-class_method">
+  
+    + (<tt>Object</tt>) <strong>included</strong>(klass) 
+  
+
+  
+</p><div class="docstring">
+  <div class="discussion">
+    <p>
+Patch the content_type function to remember the set type This helps cut
+down on time in the format helper so it doesn&#8217;t have to do a reverse
+lookup on the header
+</p>
+
+
+  </div>
+</div>
+<div class="tags">
+  
+</div><table class="source_code">
+  <tr>
+    <td>
+      <pre class="lines">
+
+
+182
+183
+184
+185
+186
+187
+188
+189
+190
+191
+192</pre>
+    </td>
+    <td>
+      <pre class="code"><span class="info file"># File 'lib/sinatra/respond_to.rb', line 182</span>
+
+<span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='included identifier id'>included</span><span class='lparen token'>(</span><span class='klass identifier id'>klass</span><span class='rparen token'>)</span>
+  <span class='klass identifier id'>klass</span><span class='dot token'>.</span><span class='class_eval identifier id'>class_eval</span> <span class='do do kw'>do</span>
+    <span class='def def kw'>def</span> <span class='content_type_with_save identifier id'>content_type_with_save</span><span class='lparen token'>(</span><span class='mult op'>*</span><span class='args identifier id'>args</span><span class='rparen token'>)</span>
+      <span class='content_type_without_save identifier id'>content_type_without_save</span> <span class='mult op'>*</span><span class='args identifier id'>args</span>
+      <span class='@_format ivar id'>@_format</span> <span class='assign token'>=</span> <span class='args identifier id'>args</span><span class='dot token'>.</span><span class='first identifier id'>first</span><span class='dot token'>.</span><span class='to_sym identifier id'>to_sym</span>
+      <span class='response identifier id'>response</span><span class='lbrack token'>[</span><span class='string val'>'Content-Type'</span><span class='rbrack token'>]</span>
+    <span class='end end kw'>end</span>
+    <span class='alias_method identifier id'>alias_method</span> <span class='symbol val'>:content_type_without_save</span><span class='comma token'>,</span> <span class='symbol val'>:content_type</span>
+    <span class='alias_method identifier id'>alias_method</span> <span class='symbol val'>:content_type</span><span class='comma token'>,</span> <span class='symbol val'>:content_type_with_save</span>
+  <span class='end end kw'>end</span> <span class='if if_mod kw'>if</span> <span class='colon3 op'>::</span><span class='Sinatra constant id'>Sinatra</span><span class='colon2 op'>::</span><span class='VERSION constant id'>VERSION</span> <span class='match op'>=~</span> <span class='regexp val'>/^1.0/</span>
+<span class='end end kw'>end</span>
+</pre>
+    </td>
+  </tr>
+</table>
+</div>
+    
+      <div class="method_details ">
+  <p class="signature " id="mime_type-class_method">
+  
+    + (<tt>Object</tt>) <strong>mime_type</strong>(sym) 
+  
+
+  
+</p><table class="source_code">
+  <tr>
+    <td>
+      <pre class="lines">
+
+
+172
+173
+174</pre>
+    </td>
+    <td>
+      <pre class="code"><span class="info file"># File 'lib/sinatra/respond_to_old.rb', line 172</span>
+
+<span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='mime_type identifier id'>mime_type</span><span class='lparen token'>(</span><span class='sym identifier id'>sym</span><span class='rparen token'>)</span>
+  <span class='colon3 op'>::</span><span class='Sinatra constant id'>Sinatra</span><span class='colon2 op'>::</span><span class='Base constant id'>Base</span><span class='dot token'>.</span><span class='respond_to? fid id'>respond_to?</span><span class='lparen token'>(</span><span class='symbol val'>:mime_type</span><span class='rparen token'>)</span> <span class='andop op'>&amp;&amp;</span> <span class='colon3 op'>::</span><span class='Sinatra constant id'>Sinatra</span><span class='colon2 op'>::</span><span class='Base constant id'>Base</span><span class='dot token'>.</span><span class='mime_type identifier id'>mime_type</span><span class='lparen token'>(</span><span class='sym identifier id'>sym</span><span class='rparen token'>)</span> <span class='orop op'>||</span> <span class='colon3 op'>::</span><span class='Sinatra constant id'>Sinatra</span><span class='colon2 op'>::</span><span class='Base constant id'>Base</span><span class='dot token'>.</span><span class='media_
 type identifier id'>media_type</span><span class='lparen token'>(</span><span class='sym identifier id'>sym</span><span class='rparen token'>)</span>
+<span class='end end kw'>end</span>
+</pre>
+    </td>
+  </tr>
+</table>
+</div>
+    
+  </div>
+
+  <div id="instance_method_details" class="method_details_list">
+    <h2>Instance Method Details</h2>
+    
+    
+      <div class="method_details first">
+  <p class="signature first" id="charset-instance_method">
+  
+    - (<tt>Object</tt>) <strong>charset</strong>(val = nil) 
+  
+
+  
+</p><table class="source_code">
+  <tr>
+    <td>
+      <pre class="lines">
+
+
+198
+199
+200
+201
+202
+203
+204
+205
+206
+207
+208</pre>
+    </td>
+    <td>
+      <pre class="code"><span class="info file"># File 'lib/sinatra/respond_to_old.rb', line 198</span>
+
+<span class='def def kw'>def</span> <span class='charset identifier id'>charset</span><span class='lparen token'>(</span><span class='val identifier id'>val</span><span class='assign token'>=</span><span class='nil nil kw'>nil</span><span class='rparen token'>)</span>
+  <span class='fail identifier id'>fail</span> <span class='string val'>&quot;Content-Type must be set in order to specify a charset&quot;</span> <span class='if if_mod kw'>if</span> <span class='response identifier id'>response</span><span class='lbrack token'>[</span><span class='string val'>'Content-Type'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
+
+  <span class='if if kw'>if</span> <span class='response identifier id'>response</span><span class='lbrack token'>[</span><span class='string val'>'Content-Type'</span><span class='rbrack token'>]</span> <span class='match op'>=~</span> <span class='regexp val'>/charset=[^;]+/</span>
+    <span class='response identifier id'>response</span><span class='lbrack token'>[</span><span class='string val'>'Content-Type'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='sub! fid id'>sub!</span><span class='lparen token'>(</span><span class='regexp val'>/charset=[^;]+/</span><span class='comma token'>,</span> <span class='lparen token'>(</span><span class='val identifier id'>val</span> <span class='eq op'>==</span> <span class='string val'>''</span> <span class='andop op'>&amp;&amp;</span> <span class='string val'>''</span><span class='rparen token'>)</span> <span class='orop op'>||</span> <span class='dstring node'>&quot;charset=#{val}&quot;</span><span class='rparen token'>)</span>
+  <span class='else else kw'>else</span>
+    <span class='response identifier id'>response</span><span class='lbrack token'>[</span><span class='string val'>'Content-Type'</span><span class='rbrack token'>]</span> <span class='opasgn op'>+=</span> <span class='dstring node'>&quot;;charset=#{val}&quot;</span>
+  <span class='end end kw'>end</span> <span class='unless unless_mod kw'>unless</span> <span class='val identifier id'>val</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
+
+  <span class='response identifier id'>response</span><span class='lbrack token'>[</span><span class='string val'>'Content-Type'</span><span class='rbrack token'>]</span><span class='lbrack token'>[</span><span class='regexp val'>/charset=([^;]+)/</span><span class='comma token'>,</span> <span class='integer val'>1</span><span class='rbrack token'>]</span>
+<span class='end end kw'>end</span>
+</pre>
+    </td>
+  </tr>
+</table>
+</div>
+    
+      <div class="method_details ">
+  <p class="signature " id="extension-instance_method">
+  
+    - (<tt>Object</tt>) <strong>extension</strong>(val = nil) 
+  
+
+  
+</p><div class="docstring">
+  <div class="discussion">
+    <p>
+Extension holds trimmed extension. This is extra usefull when you want to
+build original URI (with extension) You can simply call
+&quot;#requestrequest.env[&amp;request.env[&amp;#8216;REQUEST_URI&amp;request.env[&amp;#8216;REQUEST_URI&amp;#8217;].#extension&quot;
+</p>
+
+
+  </div>
+</div>
+<div class="tags">
+  
+</div><table class="source_code">
+  <tr>
+    <td>
+      <pre class="lines">
+
+
+204
+205
+206
+207</pre>
+    </td>
+    <td>
+      <pre class="code"><span class="info file"># File 'lib/sinatra/respond_to.rb', line 204</span>
+
+<span class='def def kw'>def</span> <span class='extension identifier id'>extension</span><span class='lparen token'>(</span><span class='val identifier id'>val</span><span class='assign token'>=</span><span class='nil nil kw'>nil</span><span class='rparen token'>)</span>
+  <span class='@_extension ivar id'>@_extension</span> <span class='opasgn op'>||=</span> <span class='val identifier id'>val</span>
+  <span class='@_extension ivar id'>@_extension</span>
+<span class='end end kw'>end</span>
+</pre>
+    </td>
+  </tr>
+</table>
+</div>
+    
+      <div class="method_details ">
+  <p class="signature " id="format-instance_method">
+  
+    - (<tt>Object</tt>) <strong>format</strong>(val = nil) 
+  
+
+  
+</p><div class="docstring">
+  <div class="discussion">
+    <p>
+This helper will holds current format. Helper should be accesible from all
+places in Sinatra
+</p>
+
+
+  </div>
+</div>
+<div class="tags">
+  
+</div><table class="source_code">
+  <tr>
+    <td>
+      <pre class="lines">
+
+
+211
+212
+213
+214
+215
+216
+217
+218
+219
+220
+221
+222</pre>
+    </td>
+    <td>
+      <pre class="code"><span class="info file"># File 'lib/sinatra/respond_to.rb', line 211</span>
+
+<span class='def def kw'>def</span> <span class='format identifier id'>format</span><span class='lparen token'>(</span><span class='val identifier id'>val</span><span class='assign token'>=</span><span class='nil nil kw'>nil</span><span class='rparen token'>)</span>
+  <span class='unless unless kw'>unless</span> <span class='val identifier id'>val</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
+    <span class='mime_type identifier id'>mime_type</span> <span class='assign token'>=</span> <span class='colon3 op'>::</span><span class='Sinatra constant id'>Sinatra</span><span class='colon2 op'>::</span><span class='RespondTo constant id'>RespondTo</span><span class='colon2 op'>::</span><span class='Helpers constant id'>Helpers</span><span class='dot token'>.</span><span class='mime_type identifier id'>mime_type</span><span class='lparen token'>(</span><span class='val identifier id'>val</span><span class='rparen token'>)</span>
+    <span class='fail identifier id'>fail</span> <span class='dstring node'>&quot;Unknown media type #{val}\nTry registering the extension with a mime type&quot;</span> <span class='if if_mod kw'>if</span> <span class='mime_type identifier id'>mime_type</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
+
+    <span class='@_format ivar id'>@_format</span> <span class='assign token'>=</span> <span class='val identifier id'>val</span><span class='dot token'>.</span><span class='to_sym identifier id'>to_sym</span>
+    <span class='response identifier id'>response</span><span class='lbrack token'>[</span><span class='string val'>'Content-Type'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='sub! fid id'>sub!</span><span class='lparen token'>(</span><span class='regexp val'>/^[^;]+/</span><span class='comma token'>,</span> <span class='mime_type identifier id'>mime_type</span><span class='rparen token'>)</span>
+    <span class='charset identifier id'>charset</span> <span class='options identifier id'>options</span><span class='dot token'>.</span><span class='default_charset identifier id'>default_charset</span> <span class='if if_mod kw'>if</span> <span class='Sinatra constant id'>Sinatra</span><span class='colon2 op'>::</span><span class='RespondTo constant id'>RespondTo</span><span class='colon2 op'>::</span><span class='TEXT_MIME_TYPES constant id'>TEXT_MIME_TYPES</span><span class='dot token'>.</span><span class='include? fid id'>include?</span><span class='lparen token'>(</span><span class='format identifier id'>format</span><span class='rparen token'>)</span> <span class='and and kw'>and</span> <span class='format! fid id'>format!</span><span class='assign token'>=</span><span class='symbol val'>:png</span>
+  <span class='end end kw'>end</span>
+
+  <span class='@_format ivar id'>@_format</span>
+<span class='end end kw'>end</span>
+</pre>
+    </td>
+  </tr>
+</table>
+</div>
+    
+      <div class="method_details ">
+  <p class="signature " id="match_accept_type-instance_method">
+  
+    - (<tt>Object</tt>) <strong>match_accept_type</strong>(mime_types, format) 
+  
+
+  
+</p><table class="source_code">
+  <tr>
+    <td>
+      <pre class="lines">
+
+
+219
+220
+221
+222
+223
+224
+225
+226
+227
+228
+229
+230
+231
+232
+233
+234
+235
+236
+237</pre>
+    </td>
+    <td>
+      <pre class="code"><span class="info file"># File 'lib/sinatra/respond_to_old.rb', line 219</span>
+
+<span class='def def kw'>def</span> <span class='match_accept_type identifier id'>match_accept_type</span><span class='lparen token'>(</span><span class='mime_types identifier id'>mime_types</span><span class='comma token'>,</span> <span class='format identifier id'>format</span><span class='rparen token'>)</span>
+  <span class='selected identifier id'>selected</span> <span class='assign token'>=</span> <span class='lbrack token'>[</span><span class='rbrack token'>]</span>
+
+  <span class='accepted_types identifier id'>accepted_types</span> <span class='assign token'>=</span> <span class='mime_types identifier id'>mime_types</span><span class='dot token'>.</span><span class='map identifier id'>map</span> <span class='lbrace token'>{</span><span class='bitor op'>|</span><span class='type identifier id'>type</span><span class='bitor op'>|</span> <span class='Regexp constant id'>Regexp</span><span class='dot token'>.</span><span class='escape identifier id'>escape</span><span class='lparen token'>(</span><span class='type identifier id'>type</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='gsub identifier id'>gsub</span><span class='lparen token'>(</span><span class='regexp val'>/\\\*/</span><span class='comma token'>,</span><span class='string val'>'.*'</span><span class='rparen token'>)</span> <span class='rbrace token'>}</span>
+  <span class='comment val'># Fix for Chrome based browsers which returns XML when 'xhtml' is requested.</span>
+  <span class='if if kw'>if</span> <span class='env identifier id'>env</span><span class='lbrack token'>[</span><span class='string val'>'HTTP_USER_AGENT'</span><span class='rbrack token'>]</span> <span class='match op'>=~</span> <span class='regexp val'>/Chrome/</span> <span class='and and kw'>and</span> <span class='accepted_types identifier id'>accepted_types</span><span class='dot token'>.</span><span class='size identifier id'>size</span><span class='gt op'>&gt;</span><span class='integer val'>1</span>
+    <span class='accepted_types identifier id'>accepted_types</span><span class='lbrack token'>[</span><span class='integer val'>0</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='accepted_types identifier id'>accepted_types</span><span class='lbrack token'>[</span><span class='integer val'>1</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='accepted_types identifier id'>accepted_types</span><span class='lbrack token'>[</span><span class='integer val'>1</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='accepted_types identifier id'>accepted_types</span><span class='lbrack token'>[</span><span class='integer val'>0</span><span class='rbrack token'>]</span>
+    <span class='if if kw'>if</span> <span class='accepted_types identifier id'>accepted_types</span><span class='lbrack token'>[</span><span class='integer val'>0</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='eql? fid id'>eql?</span><span class='lparen token'>(</span><span class='string val'>'application/xhtml\\+xml'</span><span class='rparen token'>)</span>
+      <span class='accepted_types identifier id'>accepted_types</span><span class='lbrack token'>[</span><span class='integer val'>0</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='string val'>'text/html'</span>
+    <span class='end end kw'>end</span>
+  <span class='end end kw'>end</span>
+  <span class='accepted_types identifier id'>accepted_types</span><span class='dot token'>.</span><span class='each identifier id'>each</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='at identifier id'>at</span><span class='bitor op'>|</span>
+    <span class='format identifier id'>format</span><span class='dot token'>.</span><span class='each identifier id'>each</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='fmt identifier id'>fmt</span><span class='comma token'>,</span> <span class='ht identifier id'>ht</span><span class='comma token'>,</span> <span class='handler identifier id'>handler</span><span class='bitor op'>|</span>
+      <span class='lparen token'>(</span><span class='selected identifier id'>selected</span> <span class='assign token'>=</span> <span class='lbrack token'>[</span><span class='fmt identifier id'>fmt</span><span class='comma token'>,</span> <span class='ht identifier id'>ht</span><span class='comma token'>,</span> <span class='handler identifier id'>handler</span><span class='rbrack token'>]</span><span class='rparen token'>)</span> <span class='and and kw'>and</span> <span class='break break kw'>break</span> <span class='if if_mod kw'>if</span> <span class='ht identifier id'>ht</span><span class='dot token'>.</span><span class='match identifier id'>match</span><span class='lparen token'>(</span><span class='at identifier id'>at</span><span class='rparen token'>)</span>
+    <span class='end end kw'>end</span>
+    <span class='break break kw'>break</span> <span class='unless unless_mod kw'>unless</span> <span class='selected identifier id'>selected</span><span class='dot token'>.</span><span class='empty? fid id'>empty?</span>
+  <span class='end end kw'>end</span>
+  <span class='selected identifier id'>selected</span>
+<span class='end end kw'>end</span>
+</pre>
+    </td>
+  </tr>
+</table>
+</div>
+    
+      <div class="method_details ">
+  <p class="signature " id="respond_to-instance_method">
+  
+    - (<tt>Object</tt>) <strong>respond_to</strong> {|wants| ... }
+  
+
+  
+</p><div class="docstring">
+  <div class="discussion">
+    
+
+  </div>
+</div>
+<div class="tags">
+  <h3>Yields:</h3>
+<ul class="yield">
+  
+    <li>
+      
+        <span class='type'>(<tt>wants</tt>)</span>
+      
+      
+      
+      
+    </li>
+  
+</ul>
+<h3>Raises:</h3>
+<ul class="raise">
+  
+    <li>
+      
+        <span class='type'>(<tt><span class='object_link'><a href="MissingTemplate.html" title="Sinatra::RespondTo::MissingTemplate (class)">MissingTemplate</a></span></tt>)</span>
+      
+      
+      
+      
+    </li>
+  
+</ul>
+
+</div><table class="source_code">
+  <tr>
+    <td>
+      <pre class="lines">
+
+
+216
+217
+218
+219
+220
+221
+222
+223</pre>
+    </td>
+    <td>
+      <pre class="code"><span class="info file"># File 'lib/sinatra/respond_to.rb', line 216</span>
+
+<span class='def def kw'>def</span> <span class='respond_to identifier id'>respond_to</span><span class='lparen token'>(</span><span class='bitand op'>&amp;</span><span class='block identifier id'>block</span><span class='rparen token'>)</span>
+  <span class='wants identifier id'>wants</span> <span class='assign token'>=</span> <span class='Format constant id'>Format</span><span class='dot token'>.</span><span class='new identifier id'>new</span>
+  <span class='yield yield kw'>yield</span> <span class='wants identifier id'>wants</span>
+  <span class='fmt identifier id'>fmt</span><span class='comma token'>,</span> <span class='type identifier id'>type</span><span class='comma token'>,</span> <span class='handler identifier id'>handler</span> <span class='assign token'>=</span> <span class='match_accept_type identifier id'>match_accept_type</span><span class='lparen token'>(</span><span class='accept_list identifier id'>accept_list</span><span class='comma token'>,</span> <span class='wants identifier id'>wants</span><span class='rparen token'>)</span>
+  <span class='raise identifier id'>raise</span> <span class='UnhandledFormat constant id'>UnhandledFormat</span> <span class='if if_mod kw'>if</span> <span class='fmt identifier id'>fmt</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
+  <span class='format identifier id'>format</span> <span class='fmt identifier id'>fmt</span>
+  <span class='handler identifier id'>handler</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span> <span class='integer val'>? </span><span class='nil nil kw'>nil</span> <span class='colon op'>:</span> <span class='handler identifier id'>handler</span><span class='dot token'>.</span><span class='call identifier id'>call</span>
+<span class='end end kw'>end</span>
+</pre>
+    </td>
+  </tr>
+</table>
+</div>
+    
+      <div class="method_details ">
+  <p class="signature " id="static_file?-instance_method">
+  
+    - (<tt>Boolean</tt>) <strong>static_file?</strong>(path) 
+  
+
+  
+</p><div class="docstring">
+  <div class="discussion">
+    <p>
+This is mostly just a helper so request.path_info isn&#8217;t changed when
+serving files from the public directory
+</p>
+
+
+  </div>
+</div>
+<div class="tags">
+  <h3>Returns:</h3>
+<ul class="return">
+  
+    <li>
+      
+        <span class='type'>(<tt>Boolean</tt>)</span>
+      
+      
+      
+      
+    </li>
+  
+</ul>
+
+</div><table class="source_code">
+  <tr>
+    <td>
+      <pre class="lines">
+
+
+191
+192
+193
+194
+195
+196</pre>
+    </td>
+    <td>
+      <pre class="code"><span class="info file"># File 'lib/sinatra/respond_to_old.rb', line 191</span>
+
+<span class='def def kw'>def</span> <span class='static_file? fid id'>static_file?</span><span class='lparen token'>(</span><span class='path identifier id'>path</span><span class='rparen token'>)</span>
+  <span class='public_dir identifier id'>public_dir</span> <span class='assign token'>=</span> <span class='File constant id'>File</span><span class='dot token'>.</span><span class='expand_path identifier id'>expand_path</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='dot token'>.</span><span class='public identifier id'>public</span><span class='rparen token'>)</span>
+  <span class='path identifier id'>path</span> <span class='assign token'>=</span> <span class='File constant id'>File</span><span class='dot token'>.</span><span class='expand_path identifier id'>expand_path</span><span class='lparen token'>(</span><span class='File constant id'>File</span><span class='dot token'>.</span><span class='join identifier id'>join</span><span class='lparen token'>(</span><span class='public_dir identifier id'>public_dir</span><span class='comma token'>,</span> <span class='unescape identifier id'>unescape</span><span class='lparen token'>(</span><span class='path identifier id'>path</span><span class='rparen token'>)</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
+
+  <span class='path identifier id'>path</span><span class='lbrack token'>[</span><span class='integer val'>0</span><span class='comma token'>,</span> <span class='public_dir identifier id'>public_dir</span><span class='dot token'>.</span><span class='length identifier id'>length</span><span class='rbrack token'>]</span> <span class='eq op'>==</span> <span class='public_dir identifier id'>public_dir</span> <span class='andop op'>&amp;&amp;</span> <span class='File constant id'>File</span><span class='dot token'>.</span><span class='file? fid id'>file?</span><span class='lparen token'>(</span><span class='path identifier id'>path</span><span class='rparen token'>)</span>
+<span class='end end kw'>end</span>
+</pre>
+    </td>
+  </tr>
+</table>
+</div>
+    
+  </div>
+
+</div>
+    
+    <div id="footer">
+  Generated on Thu Sep 30 14:43:56 2010 by 
+  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
+  0.6.1 (ruby-1.8.6).
+</div>
+
+  </body>
+</html>
\ No newline at end of file

Added: incubator/deltacloud/trunk/site/api-docs/Sinatra/RespondTo/Helpers/Format.html
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/api-docs/Sinatra/RespondTo/Helpers/Format.html?rev=1003045&view=auto
==============================================================================
--- incubator/deltacloud/trunk/site/api-docs/Sinatra/RespondTo/Helpers/Format.html (added)
+++ incubator/deltacloud/trunk/site/api-docs/Sinatra/RespondTo/Helpers/Format.html Thu Sep 30 12:48:00 2010
@@ -0,0 +1,189 @@
+<!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>
+    <meta name="Content-Type" content="text/html; charset=utf8" />
+<title>Class: Sinatra::RespondTo::Helpers::Format</title>
+<link rel="stylesheet" href="../../../css/style.css" type="text/css" media="screen" charset="utf-8" />
+<link rel="stylesheet" href="../../../css/common.css" type="text/css" media="screen" charset="utf-8" />
+
+<script type="text/javascript" charset="utf-8">
+  relpath = '../../..';
+  if (relpath != '') relpath += '/';
+</script>
+<script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../../js/app.js"></script>
+
+  </head>
+  <body>
+    <script type="text/javascript" charset="utf-8">
+      if (window.top.frames.main) document.body.className = 'frames';
+    </script>
+    
+    <div id="header">
+      <div id="menu">
+  
+    <a href="../../../_index.html">Index (F)</a> &raquo; 
+    <span class='title'><span class='object_link'><a href="../../../Sinatra.html" title="Sinatra (module)">Sinatra</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../../RespondTo.html" title="Sinatra::RespondTo (module)">RespondTo</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Helpers.html" title="Sinatra::RespondTo::Helpers (module)">Helpers</a></span></span>
+     &raquo; 
+    <span class="title">Format</span>
+  
+  
+  <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
+</div>
+
+      <div id="search">
+  <a id="class_list_link" href="#">Class List</a>
+  <a id="method_list_link" href="#">Method List</a>
+  <a id ="file_list_link" href="#">File List</a>
+</div>
+
+      <div class="clear"></div>
+    </div>
+    
+    <iframe id="search_frame"></iframe>
+    
+    <div id="content"><h1>Class: Sinatra::RespondTo::Helpers::Format
+  
+  
+  
+</h1>
+
+<dl class="box">
+  
+    <dt class="r1">Inherits:</dt>
+    <dd class="r1">
+      <span class="inheritName">Array</span>
+      
+        <ul class="fullTree">
+          <li>Object</li>
+          
+            <li class="next">Array</li>
+          
+            <li class="next">Sinatra::RespondTo::Helpers::Format</li>
+          
+        </ul>
+        <a href="#" class="inheritanceTree">show all</a>
+      
+      </dd>
+    
+  
+  
+    
+  
+    
+  
+  
+  
+    <dt class="r2 last">Defined in:</dt>
+    <dd class="r2 last">lib/sinatra/respond_to_old.rb</dd>
+  
+</dl>
+<div class="clear"></div>
+
+<h2>Overview</h2><div class="docstring">
+  <div class="discussion">
+    <p>
+NOTE Array instead of hash because order matters (wildcard type matches
+first handler)
+</p>
+
+
+  </div>
+</div>
+<div class="tags">
+  
+</div>
+
+  
+
+  
+    <h2>
+      Instance Method Summary
+      <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
+    </h2>
+
+    <ul class="summary">
+      
+        <li class="public ">
+  <span class="summary_signature">
+    
+      <a href="#method_missing-instance_method" title="#method_missing (instance method)">- (Object) <strong>method_missing</strong>(format, *args, &amp;handler) </a>
+    
+
+    
+  </span>
+  
+  
+  
+  
+  
+  
+
+  
+    <span class="summary_desc"><div class='inline'></div></span>
+  
+</li>
+
+      
+    </ul>
+  
+
+
+  <div id="method_missing_details" class="method_details_list">
+  <h2>Dynamic Method Handling</h2>
+  <p class="notice this">
+    This class handles dynamic methods through the <tt>method_missing</tt> method
+    
+  </p>
+  
+    <div class="method_details first">
+  <p class="signature first" id="method_missing-instance_method">
+  
+    - (<tt>Object</tt>) <strong>method_missing</strong>(format, *args, &amp;handler) 
+  
+
+  
+</p><table class="source_code">
+  <tr>
+    <td>
+      <pre class="lines">
+
+
+242
+243
+244
+245
+246
+247
+248</pre>
+    </td>
+    <td>
+      <pre class="code"><span class="info file"># File 'lib/sinatra/respond_to_old.rb', line 242</span>
+
+<span class='def def kw'>def</span> <span class='method_missing identifier id'>method_missing</span><span class='lparen token'>(</span><span class='format identifier id'>format</span><span class='comma token'>,</span> <span class='mult op'>*</span><span class='args identifier id'>args</span><span class='comma token'>,</span> <span class='bitand op'>&amp;</span><span class='handler identifier id'>handler</span><span class='rparen token'>)</span>
+  <span class='mt identifier id'>mt</span> <span class='assign token'>=</span> <span class='Sinatra constant id'>Sinatra</span><span class='colon2 op'>::</span><span class='RespondTo constant id'>RespondTo</span><span class='colon2 op'>::</span><span class='Helpers constant id'>Helpers</span><span class='dot token'>.</span><span class='mime_type identifier id'>mime_type</span><span class='lparen token'>(</span><span class='format identifier id'>format</span><span class='rparen token'>)</span>
+  <span class='if if kw'>if</span> <span class='mt identifier id'>mt</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
+    <span class='Sinatra constant id'>Sinatra</span><span class='colon2 op'>::</span><span class='Base constant id'>Base</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='symbol val'>:fail</span><span class='comma token'>,</span> <span class='dstring node'>&quot;Unknown media type for respond_to: #{format}\nTry registering the extension with a mime type&quot;</span><span class='rparen token'>)</span>
+  <span class='end end kw'>end</span>
+  <span class='self self kw'>self</span> <span class='lshft op'>&lt;&lt;</span> <span class='lbrack token'>[</span><span class='format identifier id'>format</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span><span class='comma token'>,</span> <span class='mt identifier id'>mt</span><span class='comma token'>,</span> <span class='handler identifier id'>handler</span><span class='rbrack token'>]</span>
+<span class='end end kw'>end</span>
+</pre>
+    </td>
+  </tr>
+</table>
+</div>
+  
+</div>
+
+
+</div>
+    
+    <div id="footer">
+  Generated on Thu Sep 30 14:43:51 2010 by 
+  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
+  0.6.1 (ruby-1.8.6).
+</div>
+
+  </body>
+</html>
\ No newline at end of file

Added: incubator/deltacloud/trunk/site/api-docs/Sinatra/RespondTo/MissingTemplate.html
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/api-docs/Sinatra/RespondTo/MissingTemplate.html?rev=1003045&view=auto
==============================================================================
--- incubator/deltacloud/trunk/site/api-docs/Sinatra/RespondTo/MissingTemplate.html (added)
+++ incubator/deltacloud/trunk/site/api-docs/Sinatra/RespondTo/MissingTemplate.html Thu Sep 30 12:48:00 2010
@@ -0,0 +1,165 @@
+<!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>
+    <meta name="Content-Type" content="text/html; charset=utf8" />
+<title>Class: Sinatra::RespondTo::MissingTemplate</title>
+<link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" />
+<link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" charset="utf-8" />
+
+<script type="text/javascript" charset="utf-8">
+  relpath = '../..';
+  if (relpath != '') relpath += '/';
+</script>
+<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
+
+  </head>
+  <body>
+    <script type="text/javascript" charset="utf-8">
+      if (window.top.frames.main) document.body.className = 'frames';
+    </script>
+    
+    <div id="header">
+      <div id="menu">
+  
+    <a href="../../_index.html">Index (M)</a> &raquo; 
+    <span class='title'><span class='object_link'><a href="../../Sinatra.html" title="Sinatra (module)">Sinatra</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../RespondTo.html" title="Sinatra::RespondTo (module)">RespondTo</a></span></span>
+     &raquo; 
+    <span class="title">MissingTemplate</span>
+  
+  
+  <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
+</div>
+
+      <div id="search">
+  <a id="class_list_link" href="#">Class List</a>
+  <a id="method_list_link" href="#">Method List</a>
+  <a id ="file_list_link" href="#">File List</a>
+</div>
+
+      <div class="clear"></div>
+    </div>
+    
+    <iframe id="search_frame"></iframe>
+    
+    <div id="content"><h1>Class: Sinatra::RespondTo::MissingTemplate
+  
+  
+  
+</h1>
+
+<dl class="box">
+  
+    <dt class="r1">Inherits:</dt>
+    <dd class="r1">
+      <span class="inheritName">NotFound</span>
+      
+        <ul class="fullTree">
+          <li>Object</li>
+          
+            <li class="next">NotFound</li>
+          
+            <li class="next">Sinatra::RespondTo::MissingTemplate</li>
+          
+        </ul>
+        <a href="#" class="inheritanceTree">show all</a>
+      
+      </dd>
+    
+  
+  
+    
+  
+    
+  
+  
+  
+    <dt class="r2 last">Defined in:</dt>
+    <dd class="r2 last">lib/sinatra/respond_to.rb<span class="defines">,<br />
+  lib/sinatra/respond_to_old.rb</span>
+</dd>
+  
+</dl>
+<div class="clear"></div>
+
+
+
+  
+
+  
+    <h2>
+      Instance Method Summary
+      <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
+    </h2>
+
+    <ul class="summary">
+      
+        <li class="public ">
+  <span class="summary_signature">
+    
+      <a href="#code-instance_method" title="#code (instance method)">- (Object) <strong>code</strong> </a>
+    
+
+    
+  </span>
+  
+  
+  
+  
+  
+  
+
+  
+    <span class="summary_desc"><div class='inline'></div></span>
+  
+</li>
+
+      
+    </ul>
+  
+
+
+  
+
+  <div id="instance_method_details" class="method_details_list">
+    <h2>Instance Method Details</h2>
+    
+    
+      <div class="method_details first">
+  <p class="signature first" id="code-instance_method">
+  
+    - (<tt>Object</tt>) <strong>code</strong> 
+  
+
+  
+</p><table class="source_code">
+  <tr>
+    <td>
+      <pre class="lines">
+
+
+17</pre>
+    </td>
+    <td>
+      <pre class="code"><span class="info file"># File 'lib/sinatra/respond_to_old.rb', line 17</span>
+
+<span class='def def kw'>def</span> <span class='code identifier id'>code</span><span class='semicolon token'>;</span> <span class='integer val'>500</span> <span class='end end kw'>end</span>
+</pre>
+    </td>
+  </tr>
+</table>
+</div>
+    
+  </div>
+
+</div>
+    
+    <div id="footer">
+  Generated on Thu Sep 30 14:43:57 2010 by 
+  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
+  0.6.1 (ruby-1.8.6).
+</div>
+
+  </body>
+</html>
\ No newline at end of file

Added: incubator/deltacloud/trunk/site/api-docs/Sinatra/RespondTo/UnhandledFormat.html
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/api-docs/Sinatra/RespondTo/UnhandledFormat.html?rev=1003045&view=auto
==============================================================================
--- incubator/deltacloud/trunk/site/api-docs/Sinatra/RespondTo/UnhandledFormat.html (added)
+++ incubator/deltacloud/trunk/site/api-docs/Sinatra/RespondTo/UnhandledFormat.html Thu Sep 30 12:48:00 2010
@@ -0,0 +1,100 @@
+<!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>
+    <meta name="Content-Type" content="text/html; charset=utf8" />
+<title>Class: Sinatra::RespondTo::UnhandledFormat</title>
+<link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" />
+<link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" charset="utf-8" />
+
+<script type="text/javascript" charset="utf-8">
+  relpath = '../..';
+  if (relpath != '') relpath += '/';
+</script>
+<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
+
+  </head>
+  <body>
+    <script type="text/javascript" charset="utf-8">
+      if (window.top.frames.main) document.body.className = 'frames';
+    </script>
+    
+    <div id="header">
+      <div id="menu">
+  
+    <a href="../../_index.html">Index (U)</a> &raquo; 
+    <span class='title'><span class='object_link'><a href="../../Sinatra.html" title="Sinatra (module)">Sinatra</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../RespondTo.html" title="Sinatra::RespondTo (module)">RespondTo</a></span></span>
+     &raquo; 
+    <span class="title">UnhandledFormat</span>
+  
+  
+  <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
+</div>
+
+      <div id="search">
+  <a id="class_list_link" href="#">Class List</a>
+  <a id="method_list_link" href="#">Method List</a>
+  <a id ="file_list_link" href="#">File List</a>
+</div>
+
+      <div class="clear"></div>
+    </div>
+    
+    <iframe id="search_frame"></iframe>
+    
+    <div id="content"><h1>Class: Sinatra::RespondTo::UnhandledFormat
+  
+  
+  
+</h1>
+
+<dl class="box">
+  
+    <dt class="r1">Inherits:</dt>
+    <dd class="r1">
+      <span class="inheritName">NotFound</span>
+      
+        <ul class="fullTree">
+          <li>Object</li>
+          
+            <li class="next">NotFound</li>
+          
+            <li class="next">Sinatra::RespondTo::UnhandledFormat</li>
+          
+        </ul>
+        <a href="#" class="inheritanceTree">show all</a>
+      
+      </dd>
+    
+  
+  
+    
+  
+    
+  
+  
+  
+    <dt class="r2 last">Defined in:</dt>
+    <dd class="r2 last">lib/sinatra/respond_to_old.rb</dd>
+  
+</dl>
+<div class="clear"></div>
+
+
+
+  
+
+
+  
+
+</div>
+    
+    <div id="footer">
+  Generated on Thu Sep 30 14:43:58 2010 by 
+  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
+  0.6.1 (ruby-1.8.6).
+</div>
+
+  </body>
+</html>
\ No newline at end of file

Added: incubator/deltacloud/trunk/site/api-docs/Sinatra/StaticAssets.html
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/api-docs/Sinatra/StaticAssets.html?rev=1003045&view=auto
==============================================================================
--- incubator/deltacloud/trunk/site/api-docs/Sinatra/StaticAssets.html (added)
+++ incubator/deltacloud/trunk/site/api-docs/Sinatra/StaticAssets.html Thu Sep 30 12:48:00 2010
@@ -0,0 +1,160 @@
+<!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>
+    <meta name="Content-Type" content="text/html; charset=utf8" />
+<title>Module: Sinatra::StaticAssets</title>
+<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
+<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
+
+<script type="text/javascript" charset="utf-8">
+  relpath = '..';
+  if (relpath != '') relpath += '/';
+</script>
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
+
+  </head>
+  <body>
+    <script type="text/javascript" charset="utf-8">
+      if (window.top.frames.main) document.body.className = 'frames';
+    </script>
+    
+    <div id="header">
+      <div id="menu">
+  
+    <a href="../_index.html">Index (S)</a> &raquo; 
+    <span class='title'><span class='object_link'><a href="../Sinatra.html" title="Sinatra (module)">Sinatra</a></span></span>
+     &raquo; 
+    <span class="title">StaticAssets</span>
+  
+  
+  <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
+</div>
+
+      <div id="search">
+  <a id="class_list_link" href="#">Class List</a>
+  <a id="method_list_link" href="#">Method List</a>
+  <a id ="file_list_link" href="#">File List</a>
+</div>
+
+      <div class="clear"></div>
+    </div>
+    
+    <iframe id="search_frame"></iframe>
+    
+    <div id="content"><h1>Module: Sinatra::StaticAssets
+  
+  
+  
+</h1>
+
+<dl class="box">
+  
+  
+    
+  
+    
+  
+  
+  
+    <dt class="r1 last">Defined in:</dt>
+    <dd class="r1 last">lib/sinatra/static_assets.rb</dd>
+  
+</dl>
+<div class="clear"></div>
+
+<h2>Defined Under Namespace</h2>
+<p class="children">
+   
+    
+      <strong class="modules">Modules:</strong> <span class='object_link'><a href="StaticAssets/Helpers.html" title="Sinatra::StaticAssets::Helpers (module)">Helpers</a></span>
+    
+   
+    
+  
+</p>
+
+
+
+  
+    <h2>
+      Class Method Summary
+      <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
+    </h2>
+
+    <ul class="summary">
+      
+        <li class="public ">
+  <span class="summary_signature">
+    
+      <a href="#registered-class_method" title="registered (class method)">+ (Object) <strong>registered</strong>(app) </a>
+    
+
+    
+  </span>
+  
+  
+  
+  
+  
+  
+
+  
+    <span class="summary_desc"><div class='inline'></div></span>
+  
+</li>
+
+      
+    </ul>
+  
+
+
+
+  <div id="class_method_details" class="method_details_list">
+    <h2>Class Method Details</h2>
+    
+    
+      <div class="method_details first">
+  <p class="signature first" id="registered-class_method">
+  
+    + (<tt>Object</tt>) <strong>registered</strong>(app) 
+  
+
+  
+</p><table class="source_code">
+  <tr>
+    <td>
+      <pre class="lines">
+
+
+76
+77
+78
+79</pre>
+    </td>
+    <td>
+      <pre class="code"><span class="info file"># File 'lib/sinatra/static_assets.rb', line 76</span>
+
+<span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='registered identifier id'>registered</span><span class='lparen token'>(</span><span class='app identifier id'>app</span><span class='rparen token'>)</span>
+  <span class='app identifier id'>app</span><span class='dot token'>.</span><span class='helpers identifier id'>helpers</span> <span class='StaticAssets constant id'>StaticAssets</span><span class='colon2 op'>::</span><span class='Helpers constant id'>Helpers</span>
+  <span class='app identifier id'>app</span><span class='dot token'>.</span><span class='disable identifier id'>disable</span> <span class='symbol val'>:xhtml</span>
+<span class='end end kw'>end</span>
+</pre>
+    </td>
+  </tr>
+</table>
+</div>
+    
+  </div>
+
+</div>
+    
+    <div id="footer">
+  Generated on Thu Sep 30 14:43:52 2010 by 
+  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
+  0.6.1 (ruby-1.8.6).
+</div>
+
+  </body>
+</html>
\ No newline at end of file

Added: incubator/deltacloud/trunk/site/api-docs/Sinatra/StaticAssets/Helpers.html
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/api-docs/Sinatra/StaticAssets/Helpers.html?rev=1003045&view=auto
==============================================================================
--- incubator/deltacloud/trunk/site/api-docs/Sinatra/StaticAssets/Helpers.html (added)
+++ incubator/deltacloud/trunk/site/api-docs/Sinatra/StaticAssets/Helpers.html Thu Sep 30 12:48:00 2010
@@ -0,0 +1,332 @@
+<!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>
+    <meta name="Content-Type" content="text/html; charset=utf8" />
+<title>Module: Sinatra::StaticAssets::Helpers</title>
+<link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" />
+<link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" charset="utf-8" />
+
+<script type="text/javascript" charset="utf-8">
+  relpath = '../..';
+  if (relpath != '') relpath += '/';
+</script>
+<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
+
+  </head>
+  <body>
+    <script type="text/javascript" charset="utf-8">
+      if (window.top.frames.main) document.body.className = 'frames';
+    </script>
+    
+    <div id="header">
+      <div id="menu">
+  
+    <a href="../../_index.html">Index (H)</a> &raquo; 
+    <span class='title'><span class='object_link'><a href="../../Sinatra.html" title="Sinatra (module)">Sinatra</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../StaticAssets.html" title="Sinatra::StaticAssets (module)">StaticAssets</a></span></span>
+     &raquo; 
+    <span class="title">Helpers</span>
+  
+  
+  <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
+</div>
+
+      <div id="search">
+  <a id="class_list_link" href="#">Class List</a>
+  <a id="method_list_link" href="#">Method List</a>
+  <a id ="file_list_link" href="#">File List</a>
+</div>
+
+      <div class="clear"></div>
+    </div>
+    
+    <iframe id="search_frame"></iframe>
+    
+    <div id="content"><h1>Module: Sinatra::StaticAssets::Helpers
+  
+  
+  
+</h1>
+
+<dl class="box">
+  
+  
+    
+  
+    
+  
+  
+  
+    <dt class="r1 last">Defined in:</dt>
+    <dd class="r1 last">lib/sinatra/static_assets.rb</dd>
+  
+</dl>
+<div class="clear"></div>
+
+
+
+
+  
+    <h2>
+      Instance Method Summary
+      <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
+    </h2>
+
+    <ul class="summary">
+      
+        <li class="public ">
+  <span class="summary_signature">
+    
+      <a href="#image_tag-instance_method" title="#image_tag (instance method)">- (Object) <strong>image_tag</strong>(source, options = {}) </a>
+    
+
+    
+  </span>
+  
+  
+  
+  
+  
+  
+
+  
+    <span class="summary_desc"><div class='inline'><p>
+In HTML &lt;link&gt; and &lt;img&gt; tags have no end tag.
+</p>
+</div></span>
+  
+</li>
+
+      
+        <li class="public ">
+  <span class="summary_signature">
+    
+      <a href="#javascript_script_tag-instance_method" title="#javascript_script_tag (instance method)">- (Object) <strong>javascript_script_tag</strong>(*sources) </a>
+    
+
+    
+  </span>
+  
+  
+  
+  
+  
+  
+
+  
+    <span class="summary_desc"><div class='inline'></div></span>
+  
+</li>
+
+      
+        <li class="public ">
+  <span class="summary_signature">
+    
+      <a href="#link_to-instance_method" title="#link_to (instance method)">- (Object) <strong>link_to</strong>(desc, url, options = {}) </a>
+    
+
+    
+  </span>
+  
+  
+  
+  
+  
+  
+
+  
+    <span class="summary_desc"><div class='inline'></div></span>
+  
+</li>
+
+      
+        <li class="public ">
+  <span class="summary_signature">
+    
+      <a href="#stylesheet_link_tag-instance_method" title="#stylesheet_link_tag (instance method)">- (Object) <strong>stylesheet_link_tag</strong>(*sources) </a>
+    
+
+    
+  </span>
+  
+  
+  
+  
+  
+  
+
+  
+    <span class="summary_desc"><div class='inline'></div></span>
+  
+</li>
+
+      
+    </ul>
+  
+
+
+
+  <div id="instance_method_details" class="method_details_list">
+    <h2>Instance Method Details</h2>
+    
+    
+      <div class="method_details first">
+  <p class="signature first" id="image_tag-instance_method">
+  
+    - (<tt>Object</tt>) <strong>image_tag</strong>(source, options = {}) 
+  
+
+  
+</p><div class="docstring">
+  <div class="discussion">
+    <p>
+In HTML &lt;link&gt; and &lt;img&gt; tags have no end tag. In XHTML, on the
+contrary, these tags must be properly closed.
+</p>
+<p>
+We can choose the appropriate behaviour with <tt>closed</tt> option:
+</p>
+<pre class="code">
+  <span class='image_tag identifier id'>image_tag</span> <span class='string val'>&quot;/images/foo.png&quot;</span><span class='comma token'>,</span> <span class='symbol val'>:alt</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='string val'>&quot;Foo itself&quot;</span><span class='comma token'>,</span> <span class='symbol val'>:closed</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='true true kw'>true</span>
+</pre>
+<p>
+The default value of <tt>closed</tt> option is <tt>false</tt>.
+</p>
+
+
+  </div>
+</div>
+<div class="tags">
+  
+</div><table class="source_code">
+  <tr>
+    <td>
+      <pre class="lines">
+
+
+16
+17
+18
+19</pre>
+    </td>
+    <td>
+      <pre class="code"><span class="info file"># File 'lib/sinatra/static_assets.rb', line 16</span>
+
+<span class='def def kw'>def</span> <span class='image_tag identifier id'>image_tag</span><span class='lparen token'>(</span><span class='source identifier id'>source</span><span class='comma token'>,</span> <span class='options identifier id'>options</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
+  <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:src</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='url_for identifier id'>url_for</span><span class='lparen token'>(</span><span class='source identifier id'>source</span><span class='rparen token'>)</span>
+  <span class='tag identifier id'>tag</span><span class='lparen token'>(</span><span class='string val'>&quot;img&quot;</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
+<span class='end end kw'>end</span>
+</pre>
+    </td>
+  </tr>
+</table>
+</div>
+    
+      <div class="method_details ">
+  <p class="signature " id="javascript_script_tag-instance_method">
+  
+    - (<tt>Object</tt>) <strong>javascript_script_tag</strong>(*sources) 
+  
+
+  
+</p><table class="source_code">
+  <tr>
+    <td>
+      <pre class="lines">
+
+
+26
+27
+28
+29</pre>
+    </td>
+    <td>
+      <pre class="code"><span class="info file"># File 'lib/sinatra/static_assets.rb', line 26</span>
+
+<span class='def def kw'>def</span> <span class='javascript_script_tag identifier id'>javascript_script_tag</span><span class='lparen token'>(</span><span class='mult op'>*</span><span class='sources identifier id'>sources</span><span class='rparen token'>)</span>
+  <span class='list identifier id'>list</span><span class='comma token'>,</span> <span class='options identifier id'>options</span> <span class='assign token'>=</span> <span class='extract_options identifier id'>extract_options</span><span class='lparen token'>(</span><span class='sources identifier id'>sources</span><span class='rparen token'>)</span>
+  <span class='list identifier id'>list</span><span class='dot token'>.</span><span class='collect identifier id'>collect</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='source identifier id'>source</span><span class='bitor op'>|</span> <span class='javascript_tag identifier id'>javascript_tag</span><span class='lparen token'>(</span><span class='source identifier id'>source</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span> <span class='rbrace token'>}</span><span class='dot token'>.</span><span class='join identifier id'>join</span><span class='lparen token'>(</span><span class='string val'>&quot;\n&quot;</span><span class='rparen token'>)</span>
+<span class='end end kw'>end</span>
+</pre>
+    </td>
+  </tr>
+</table>
+</div>
+    
+      <div class="method_details ">
+  <p class="signature " id="link_to-instance_method">
+  
+    - (<tt>Object</tt>) <strong>link_to</strong>(desc, url, options = {}) 
+  
+
+  
+</p><table class="source_code">
+  <tr>
+    <td>
+      <pre class="lines">
+
+
+31
+32
+33
+34
+35</pre>
+    </td>
+    <td>
+      <pre class="code"><span class="info file"># File 'lib/sinatra/static_assets.rb', line 31</span>
+
+<span class='def def kw'>def</span> <span class='link_to identifier id'>link_to</span><span class='lparen token'>(</span><span class='desc identifier id'>desc</span><span class='comma token'>,</span> <span class='url identifier id'>url</span><span class='comma token'>,</span> <span class='options identifier id'>options</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
+  <span class='tag identifier id'>tag</span><span class='lparen token'>(</span><span class='string val'>&quot;a&quot;</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='dot token'>.</span><span class='merge identifier id'>merge</span><span class='lparen token'>(</span><span class='symbol val'>:href</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='url_for identifier id'>url_for</span><span class='lparen token'>(</span><span class='url identifier id'>url</span><span class='rparen token'>)</span><span class='rparen token'>)</span><span class='rparen token'>)</span> <span class='do do kw'>do</span>
+    <span class='desc identifier id'>desc</span>
+  <span class='end end kw'>end</span>
+<span class='end end kw'>end</span>
+</pre>
+    </td>
+  </tr>
+</table>
+</div>
+    
+      <div class="method_details ">
+  <p class="signature " id="stylesheet_link_tag-instance_method">
+  
+    - (<tt>Object</tt>) <strong>stylesheet_link_tag</strong>(*sources) 
+  
+
+  
+</p><table class="source_code">
+  <tr>
+    <td>
+      <pre class="lines">
+
+
+21
+22
+23
+24</pre>
+    </td>
+    <td>
+      <pre class="code"><span class="info file"># File 'lib/sinatra/static_assets.rb', line 21</span>
+
+<span class='def def kw'>def</span> <span class='stylesheet_link_tag identifier id'>stylesheet_link_tag</span><span class='lparen token'>(</span><span class='mult op'>*</span><span class='sources identifier id'>sources</span><span class='rparen token'>)</span>
+  <span class='list identifier id'>list</span><span class='comma token'>,</span> <span class='options identifier id'>options</span> <span class='assign token'>=</span> <span class='extract_options identifier id'>extract_options</span><span class='lparen token'>(</span><span class='sources identifier id'>sources</span><span class='rparen token'>)</span>
+  <span class='list identifier id'>list</span><span class='dot token'>.</span><span class='collect identifier id'>collect</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='source identifier id'>source</span><span class='bitor op'>|</span> <span class='stylesheet_tag identifier id'>stylesheet_tag</span><span class='lparen token'>(</span><span class='source identifier id'>source</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span> <span class='rbrace token'>}</span><span class='dot token'>.</span><span class='join identifier id'>join</span><span class='lparen token'>(</span><span class='string val'>&quot;\n&quot;</span><span class='rparen token'>)</span>
+<span class='end end kw'>end</span>
+</pre>
+    </td>
+  </tr>
+</table>
+</div>
+    
+  </div>
+
+</div>
+    
+    <div id="footer">
+  Generated on Thu Sep 30 14:43:58 2010 by 
+  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
+  0.6.1 (ruby-1.8.6).
+</div>
+
+  </body>
+</html>
\ No newline at end of file

Added: incubator/deltacloud/trunk/site/api-docs/Sinatra/UrlForHelper.html
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/api-docs/Sinatra/UrlForHelper.html?rev=1003045&view=auto
==============================================================================
--- incubator/deltacloud/trunk/site/api-docs/Sinatra/UrlForHelper.html (added)
+++ incubator/deltacloud/trunk/site/api-docs/Sinatra/UrlForHelper.html Thu Sep 30 12:48:00 2010
@@ -0,0 +1,273 @@
+<!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>
+    <meta name="Content-Type" content="text/html; charset=utf8" />
+<title>Module: Sinatra::UrlForHelper</title>
+<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
+<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
+
+<script type="text/javascript" charset="utf-8">
+  relpath = '..';
+  if (relpath != '') relpath += '/';
+</script>
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
+
+  </head>
+  <body>
+    <script type="text/javascript" charset="utf-8">
+      if (window.top.frames.main) document.body.className = 'frames';
+    </script>
+    
+    <div id="header">
+      <div id="menu">
+  
+    <a href="../_index.html">Index (U)</a> &raquo; 
+    <span class='title'><span class='object_link'><a href="../Sinatra.html" title="Sinatra (module)">Sinatra</a></span></span>
+     &raquo; 
+    <span class="title">UrlForHelper</span>
+  
+  
+  <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
+</div>
+
+      <div id="search">
+  <a id="class_list_link" href="#">Class List</a>
+  <a id="method_list_link" href="#">Method List</a>
+  <a id ="file_list_link" href="#">File List</a>
+</div>
+
+      <div class="clear"></div>
+    </div>
+    
+    <iframe id="search_frame"></iframe>
+    
+    <div id="content"><h1>Module: Sinatra::UrlForHelper
+  
+  
+  
+</h1>
+
+<dl class="box">
+  
+  
+    
+  
+    
+  
+  
+  
+    <dt class="r1 last">Defined in:</dt>
+    <dd class="r1 last">lib/sinatra/url_for.rb</dd>
+  
+</dl>
+<div class="clear"></div>
+
+
+
+
+  
+    <h2>
+      Instance Method Summary
+      <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
+    </h2>
+
+    <ul class="summary">
+      
+        <li class="public ">
+  <span class="summary_signature">
+    
+      <a href="#root_url-instance_method" title="#root_url (instance method)">- (Object) <strong>root_url</strong> </a>
+    
+
+    
+  </span>
+  
+  
+  
+  
+  
+  
+
+  
+    <span class="summary_desc"><div class='inline'></div></span>
+  
+</li>
+
+      
+        <li class="public ">
+  <span class="summary_signature">
+    
+      <a href="#url_for-instance_method" title="#url_for (instance method)">- (Object) <strong>url_for</strong>(url_fragment, mode = :path_only) </a>
+    
+
+    
+  </span>
+  
+  
+  
+  
+  
+  
+
+  
+    <span class="summary_desc"><div class='inline'><p>
+Construct a link to <tt>url_fragment</tt>, which should be given relative
+to the base of this Sinatra app.
+</p>
+</div></span>
+  
+</li>
+
+      
+    </ul>
+  
+
+
+
+  <div id="instance_method_details" class="method_details_list">
+    <h2>Instance Method Details</h2>
+    
+    
+      <div class="method_details first">
+  <p class="signature first" id="root_url-instance_method">
+  
+    - (<tt>Object</tt>) <strong>root_url</strong> 
+  
+
+  
+</p><table class="source_code">
+  <tr>
+    <td>
+      <pre class="lines">
+
+
+45
+46
+47</pre>
+    </td>
+    <td>
+      <pre class="code"><span class="info file"># File 'lib/sinatra/url_for.rb', line 45</span>
+
+<span class='def def kw'>def</span> <span class='root_url identifier id'>root_url</span>
+  <span class='url_for identifier id'>url_for</span> <span class='string val'>'/'</span>
+<span class='end end kw'>end</span>
+</pre>
+    </td>
+  </tr>
+</table>
+</div>
+    
+      <div class="method_details ">
+  <p class="signature " id="url_for-instance_method">
+  
+    - (<tt>Object</tt>) <strong>url_for</strong>(url_fragment, mode = :path_only) 
+  
+
+  
+</p><div class="docstring">
+  <div class="discussion">
+    <p>
+Construct a link to <tt>url_fragment</tt>, which should be given relative
+to the base of this Sinatra app. The mode should be either
+<tt>:path_only</tt>, which will generate an absolute path within the
+current domain (the default), or <tt>:full</tt>, which will include the
+site name and port number. (The latter is typically necessary for links in
+RSS feeds.) Example usage:
+</p>
+<pre class="code">
+  <span class='url_for identifier id'>url_for</span> <span class='string val'>&quot;/&quot;</span>            <span class='comment val'># Returns &quot;/myapp/&quot;</span>
+  <span class='url_for identifier id'>url_for</span> <span class='string val'>&quot;/foo&quot;</span>         <span class='comment val'># Returns &quot;/myapp/foo&quot;</span>
+  <span class='url_for identifier id'>url_for</span> <span class='string val'>&quot;/foo&quot;</span><span class='comma token'>,</span> <span class='symbol val'>:full</span>  <span class='comment val'># Returns &quot;http://example.com/myapp/foo&quot;</span>
+</pre>
+<p>
+&#8212; See README.rdoc for a list of some of the people who helped me
+clean up earlier versions of this code.
+</p>
+
+
+  </div>
+</div>
+<div class="tags">
+  
+</div><table class="source_code">
+  <tr>
+    <td>
+      <pre class="lines">
+
+
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43</pre>
+    </td>
+    <td>
+      <pre class="code"><span class="info file"># File 'lib/sinatra/url_for.rb', line 18</span>
+
+<span class='def def kw'>def</span> <span class='url_for identifier id'>url_for</span> <span class='url_fragment identifier id'>url_fragment</span><span class='comma token'>,</span> <span class='mode identifier id'>mode</span><span class='assign token'>=</span><span class='symbol val'>:path_only</span>
+  <span class='case case kw'>case</span> <span class='mode identifier id'>mode</span>
+  <span class='when when kw'>when</span> <span class='symbol val'>:path_only</span>
+    <span class='base identifier id'>base</span> <span class='assign token'>=</span> <span class='request identifier id'>request</span><span class='dot token'>.</span><span class='script_name identifier id'>script_name</span>
+  <span class='when when kw'>when</span> <span class='symbol val'>:full</span>
+    <span class='scheme identifier id'>scheme</span> <span class='assign token'>=</span> <span class='request identifier id'>request</span><span class='dot token'>.</span><span class='scheme identifier id'>scheme</span>
+    <span class='if if kw'>if</span> <span class='lparen token'>(</span><span class='scheme identifier id'>scheme</span> <span class='eq op'>==</span> <span class='string val'>'http'</span> <span class='andop op'>&amp;&amp;</span> <span class='request identifier id'>request</span><span class='dot token'>.</span><span class='port identifier id'>port</span> <span class='eq op'>==</span> <span class='integer val'>80</span> <span class='orop op'>||</span>
+        <span class='scheme identifier id'>scheme</span> <span class='eq op'>==</span> <span class='string val'>'https'</span> <span class='andop op'>&amp;&amp;</span> <span class='request identifier id'>request</span><span class='dot token'>.</span><span class='port identifier id'>port</span> <span class='eq op'>==</span> <span class='integer val'>443</span><span class='rparen token'>)</span>
+      <span class='port identifier id'>port</span> <span class='assign token'>=</span> <span class='string val'>&quot;&quot;</span>
+    <span class='else else kw'>else</span>
+      <span class='port identifier id'>port</span> <span class='assign token'>=</span> <span class='dstring node'>&quot;:#{request.port}&quot;</span>
+    <span class='end end kw'>end</span>
+    <span class='request_host identifier id'>request_host</span> <span class='assign token'>=</span> <span class='HOSTNAME constant id'>HOSTNAME</span> <span class='integer val'>? </span><span class='HOSTNAME constant id'>HOSTNAME</span> <span class='colon op'>:</span> <span class='request identifier id'>request</span><span class='dot token'>.</span><span class='host identifier id'>host</span>
+    <span class='base identifier id'>base</span> <span class='assign token'>=</span> <span class='dstring node'>&quot;#{scheme}://#{request_host}#{port}#{request.script_name}&quot;</span>
+  <span class='else else kw'>else</span>
+    <span class='raise identifier id'>raise</span> <span class='TypeError constant id'>TypeError</span><span class='comma token'>,</span> <span class='dstring node'>&quot;Unknown url_for mode #{mode}&quot;</span>
+  <span class='end end kw'>end</span>
+  <span class='url_escape identifier id'>url_escape</span> <span class='assign token'>=</span> <span class='URI constant id'>URI</span><span class='dot token'>.</span><span class='escape identifier id'>escape</span><span class='lparen token'>(</span><span class='url_fragment identifier id'>url_fragment</span><span class='rparen token'>)</span>
+  <span class='comment val'># Don't add the base fragment if url_for gets called more than once</span>
+  <span class='comment val'># per url or the url_fragment passed in is an absolute url</span>
+  <span class='if if kw'>if</span> <span class='url_escape identifier id'>url_escape</span><span class='dot token'>.</span><span class='match identifier id'>match</span><span class='lparen token'>(</span><span class='dregexp node'>/^#{base}/</span><span class='rparen token'>)</span> <span class='or or kw'>or</span> <span class='url_escape identifier id'>url_escape</span><span class='dot token'>.</span><span class='match identifier id'>match</span><span class='lparen token'>(</span><span class='regexp val'>/^http/</span><span class='rparen token'>)</span>
+    <span class='url_escape identifier id'>url_escape</span>
+  <span class='else else kw'>else</span>
+    <span class='dstring node'>&quot;#{base}#{url_escape}&quot;</span>
+  <span class='end end kw'>end</span>
+<span class='end end kw'>end</span>
+</pre>
+    </td>
+  </tr>
+</table>
+</div>
+    
+  </div>
+
+</div>
+    
+    <div id="footer">
+  Generated on Thu Sep 30 14:43:51 2010 by 
+  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
+  0.6.1 (ruby-1.8.6).
+</div>
+
+  </body>
+</html>
\ No newline at end of file

Added: incubator/deltacloud/trunk/site/api-docs/StorageSnapshot.html
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/api-docs/StorageSnapshot.html?rev=1003045&view=auto
==============================================================================
--- incubator/deltacloud/trunk/site/api-docs/StorageSnapshot.html (added)
+++ incubator/deltacloud/trunk/site/api-docs/StorageSnapshot.html Thu Sep 30 12:48:00 2010
@@ -0,0 +1,338 @@
+<!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>
+    <meta name="Content-Type" content="text/html; charset=utf8" />
+<title>Class: StorageSnapshot</title>
+<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
+<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
+
+<script type="text/javascript" charset="utf-8">
+  relpath = '';
+  if (relpath != '') relpath += '/';
+</script>
+<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
+
+  </head>
+  <body>
+    <script type="text/javascript" charset="utf-8">
+      if (window.top.frames.main) document.body.className = 'frames';
+    </script>
+    
+    <div id="header">
+      <div id="menu">
+  
+    <a href="_index.html">Index (S)</a> &raquo; 
+    
+    
+    <span class="title">StorageSnapshot</span>
+  
+  
+  <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
+</div>
+
+      <div id="search">
+  <a id="class_list_link" href="#">Class List</a>
+  <a id="method_list_link" href="#">Method List</a>
+  <a id ="file_list_link" href="#">File List</a>
+</div>
+
+      <div class="clear"></div>
+    </div>
+    
+    <iframe id="search_frame"></iframe>
+    
+    <div id="content"><h1>Class: StorageSnapshot
+  
+  
+  
+</h1>
+
+<dl class="box">
+  
+    <dt class="r1">Inherits:</dt>
+    <dd class="r1">
+      <span class="inheritName"><span class='object_link'><a href="BaseModel.html" title="BaseModel (class)">BaseModel</a></span></span>
+      
+        <ul class="fullTree">
+          <li>Object</li>
+          
+            <li class="next"><span class='object_link'><a href="BaseModel.html" title="BaseModel (class)">BaseModel</a></span></li>
+          
+            <li class="next">StorageSnapshot</li>
+          
+        </ul>
+        <a href="#" class="inheritanceTree">show all</a>
+      
+      </dd>
+    
+  
+  
+    
+  
+    
+  
+  
+  
+    <dt class="r2 last">Defined in:</dt>
+    <dd class="r2 last">lib/deltacloud/models/storage_snapshot.rb</dd>
+  
+</dl>
+<div class="clear"></div>
+
+
+
+  
+  
+  
+  
+  <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
+  <ul class="summary">
+    
+      <li class="public ">
+  <span class="summary_signature">
+    
+      <a href="#created-instance_method" title="#created (instance method)">- (Object) <strong>created</strong> </a>
+    
+
+    
+  </span>
+  
+  
+    
+    
+  
+  
+  
+  
+  
+
+  
+    <span class="summary_desc"><div class='inline'><p>
+Returns the value of attribute created.
+</p>
+</div></span>
+  
+</li>
+
+    
+      <li class="public ">
+  <span class="summary_signature">
+    
+      <a href="#state-instance_method" title="#state (instance method)">- (Object) <strong>state</strong> </a>
+    
+
+    
+  </span>
+  
+  
+    
+    
+  
+  
+  
+  
+  
+
+  
+    <span class="summary_desc"><div class='inline'><p>
+Returns the value of attribute state.
+</p>
+</div></span>
+  
+</li>
+
+    
+      <li class="public ">
+  <span class="summary_signature">
+    
+      <a href="#storage_volume_id-instance_method" title="#storage_volume_id (instance method)">- (Object) <strong>storage_volume_id</strong> </a>
+    
+
+    
+  </span>
+  
+  
+    
+    
+  
+  
+  
+  
+  
+
+  
+    <span class="summary_desc"><div class='inline'><p>
+Returns the value of attribute storage_volume_id.
+</p>
+</div></span>
+  
+</li>
+
+    
+  </ul>
+
+
+
+  
+  
+  
+  
+  
+  <h2>Method Summary</h2>
+  
+  <h3 class="inherited">Methods inherited from <span class='object_link'><a href="BaseModel.html" title="BaseModel (class)">BaseModel</a></span></h3>
+  <p class="inherited"><span class='object_link'><a href="BaseModel.html#attr_accessor-class_method" title="BaseModel.attr_accessor (method)">attr_accessor</a></span>, <span class='object_link'><a href="BaseModel.html#attributes-instance_method" title="BaseModel#attributes (method)">#attributes</a></span>, <span class='object_link'><a href="BaseModel.html#attributes-class_method" title="BaseModel.attributes (method)">attributes</a></span>, <span class='object_link'><a href="BaseModel.html#id-instance_method" title="BaseModel#id (method)">#id</a></span>, <span class='object_link'><a href="BaseModel.html#initialize-instance_method" title="BaseModel#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="BaseModel.html#to_hash-instance_method" title="BaseModel#to_hash (method)">#to_hash</a></span>, <span class='object_link'><a href="BaseModel.html#to_json-instance_method" title="BaseModel#to_json (method)">#to_json</a></span></p>
+<div id="constructor_details" class="method_details_list">
+  <h2>Constructor Details</h2>
+  
+    <p class="notice">This class inherits a constructor from <span class='object_link'><a href="BaseModel.html#initialize-instance_method" title="BaseModel#initialize (method)">BaseModel</a></span></p>
+  
+</div>
+
+  <div id="instance_attr_details" class="attr_details">
+    <h2>Instance Attribute Details</h2>
+    
+      
+      <span id="created=-instance_method"></span>
+      <span id="created-instance_method"></span>
+      <div class="method_details first">
+  <p class="signature first" id="created-instance_method">
+  
+    - (<tt>Object</tt>) <strong>created</strong> 
+  
+
+  
+</p><div class="docstring">
+  <div class="discussion">
+    <p>
+Returns the value of attribute created
+</p>
+
+
+  </div>
+</div>
+<div class="tags">
+  
+</div><table class="source_code">
+  <tr>
+    <td>
+      <pre class="lines">
+
+
+25
+26
+27</pre>
+    </td>
+    <td>
+      <pre class="code"><span class="info file"># File 'lib/deltacloud/models/storage_snapshot.rb', line 25</span>
+
+<span class='def def kw'>def</span> <span class='created identifier id'>created</span>
+  <span class='@created ivar id'>@created</span>
+<span class='end end kw'>end</span>
+</pre>
+    </td>
+  </tr>
+</table>
+</div>
+    
+      
+      <span id="state=-instance_method"></span>
+      <span id="state-instance_method"></span>
+      <div class="method_details ">
+  <p class="signature " id="state-instance_method">
+  
+    - (<tt>Object</tt>) <strong>state</strong> 
+  
+
+  
+</p><div class="docstring">
+  <div class="discussion">
+    <p>
+Returns the value of attribute state
+</p>
+
+
+  </div>
+</div>
+<div class="tags">
+  
+</div><table class="source_code">
+  <tr>
+    <td>
+      <pre class="lines">
+
+
+23
+24
+25</pre>
+    </td>
+    <td>
+      <pre class="code"><span class="info file"># File 'lib/deltacloud/models/storage_snapshot.rb', line 23</span>
+
+<span class='def def kw'>def</span> <span class='state identifier id'>state</span>
+  <span class='@state ivar id'>@state</span>
+<span class='end end kw'>end</span>
+</pre>
+    </td>
+  </tr>
+</table>
+</div>
+    
+      
+      <span id="storage_volume_id=-instance_method"></span>
+      <span id="storage_volume_id-instance_method"></span>
+      <div class="method_details ">
+  <p class="signature " id="storage_volume_id-instance_method">
+  
+    - (<tt>Object</tt>) <strong>storage_volume_id</strong> 
+  
+
+  
+</p><div class="docstring">
+  <div class="discussion">
+    <p>
+Returns the value of attribute storage_volume_id
+</p>
+
+
+  </div>
+</div>
+<div class="tags">
+  
+</div><table class="source_code">
+  <tr>
+    <td>
+      <pre class="lines">
+
+
+24
+25
+26</pre>
+    </td>
+    <td>
+      <pre class="code"><span class="info file"># File 'lib/deltacloud/models/storage_snapshot.rb', line 24</span>
+
+<span class='def def kw'>def</span> <span class='storage_volume_id identifier id'>storage_volume_id</span>
+  <span class='@storage_volume_id ivar id'>@storage_volume_id</span>
+<span class='end end kw'>end</span>
+</pre>
+    </td>
+  </tr>
+</table>
+</div>
+    
+  </div>
+
+
+</div>
+    
+    <div id="footer">
+  Generated on Thu Sep 30 14:43:56 2010 by 
+  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
+  0.6.1 (ruby-1.8.6).
+</div>
+
+  </body>
+</html>
\ No newline at end of file



Mime
View raw message