html/classes/S33r/S3Object.html in s33r-0.3 vs html/classes/S33r/S3Object.html in s33r-0.3.1
- old
+ new
@@ -90,14 +90,14 @@
<div id="method-list">
<h3 class="section-bar">Methods</h3>
<div class="name-list">
- <a href="#M000056">delete</a>
- <a href="#M000055">new</a>
- <a href="#M000058">set_from_node</a>
- <a href="#M000057">set_from_xml_string</a>
+ <a href="#M000057">delete</a>
+ <a href="#M000056">new</a>
+ <a href="#M000059">set_from_node</a>
+ <a href="#M000058">set_from_xml_string</a>
</div>
</div>
</div>
@@ -163,26 +163,26 @@
<!-- if method_list -->
<div id="methods">
<h3 class="section-bar">Public Class methods</h3>
- <div id="method-M000055" class="method-detail">
- <a name="M000055"></a>
+ <div id="method-M000056" class="method-detail">
+ <a name="M000056"></a>
<div class="method-heading">
- <a href="#M000055" class="method-signature">
+ <a href="#M000056" class="method-signature">
<span class="method-name">new</span><span class="method-args">(node=nil, named_bucket=nil)</span>
</a>
</div>
<div class="method-description">
<p>
Create from a node.
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000055-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000055-source">
+ onclick="toggleCode('M000056-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000056-source">
<pre>
<span class="ruby-comment cmt"># File lib/s33r/bucket_listing.rb, line 105</span>
105: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">node</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">named_bucket</span>=<span class="ruby-keyword kw">nil</span>)
106: <span class="ruby-ivar">@named_bucket</span> = <span class="ruby-identifier">named_bucket</span>
107: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">set_from_node</span>(<span class="ruby-identifier">node</span>) <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">node</span>.<span class="ruby-identifier">nil?</span>
@@ -192,42 +192,42 @@
</div>
</div>
<h3 class="section-bar">Public Instance methods</h3>
- <div id="method-M000056" class="method-detail">
- <a name="M000056"></a>
+ <div id="method-M000057" class="method-detail">
+ <a name="M000057"></a>
<div class="method-heading">
- <a href="#M000056" class="method-signature">
+ <a href="#M000057" class="method-signature">
<span class="method-name">delete</span><span class="method-args">()</span>
</a>
</div>
<div class="method-description">
<p>
Remove this object from associated <a
href="NamedBucket.html">NamedBucket</a>.
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000056-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000056-source">
+ onclick="toggleCode('M000057-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000057-source">
<pre>
<span class="ruby-comment cmt"># File lib/s33r/bucket_listing.rb, line 111</span>
111: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete</span>
112: <span class="ruby-ivar">@named_bucket</span>.<span class="ruby-identifier">delete_key</span>(<span class="ruby-ivar">@key</span>) <span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@named_bucket</span>.<span class="ruby-identifier">nil?</span>
113: <span class="ruby-keyword kw">end</span>
</pre>
</div>
</div>
</div>
- <div id="method-M000058" class="method-detail">
- <a name="M000058"></a>
+ <div id="method-M000059" class="method-detail">
+ <a name="M000059"></a>
<div class="method-heading">
- <a href="#M000058" class="method-signature">
+ <a href="#M000059" class="method-signature">
<span class="method-name">set_from_node</span><span class="method-args">(doc)</span>
</a>
</div>
<div class="method-description">
@@ -238,12 +238,12 @@
<p>
<tt>doc</tt>: <a href="../XML/Document.html">XML::Document</a> instance to
parse to get properties for this object.
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000058-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000058-source">
+ onclick="toggleCode('M000059-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000059-source">
<pre>
<span class="ruby-comment cmt"># File lib/s33r/bucket_listing.rb, line 126</span>
126: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_from_node</span>(<span class="ruby-identifier">doc</span>)
127: <span class="ruby-ivar">@key</span> = <span class="ruby-identifier">doc</span>.<span class="ruby-identifier">xget</span>(<span class="ruby-value str">'Key'</span>)
128: <span class="ruby-ivar">@last_modified</span> = <span class="ruby-constant">DateTime</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">doc</span>.<span class="ruby-identifier">xget</span>(<span class="ruby-value str">'LastModified'</span>))
@@ -259,15 +259,15 @@
</pre>
</div>
</div>
</div>
- <div id="method-M000057" class="method-detail">
- <a name="M000057"></a>
+ <div id="method-M000058" class="method-detail">
+ <a name="M000058"></a>
<div class="method-heading">
- <a href="#M000057" class="method-signature">
+ <a href="#M000058" class="method-signature">
<span class="method-name">set_from_xml_string</span><span class="method-args">(xml_str)</span>
</a>
</div>
<div class="method-description">
@@ -278,11 +278,11 @@
<tt>xml_str</tt> should be a string representing a full <a
href="../XML.html">XML</a> document, containing a <Contents> element
as its root element.
</p>
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000057-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000057-source">
+ onclick="toggleCode('M000058-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000058-source">
<pre>
<span class="ruby-comment cmt"># File lib/s33r/bucket_listing.rb, line 119</span>
119: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_from_xml_string</span>(<span class="ruby-identifier">xml_str</span>)
120: <span class="ruby-identifier">set_from_node</span>(<span class="ruby-constant">XML</span>.<span class="ruby-identifier">get_xml_doc</span>(<span class="ruby-identifier">xml_str</span>))
121: <span class="ruby-keyword kw">end</span>
\ No newline at end of file