doc/SDM/Postgres.html in strongdm-1.0.12 vs doc/SDM/Postgres.html in strongdm-1.0.13
- old
+ new
@@ -279,11 +279,11 @@
<div class="method-source-code" id="new-source">
- <pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 3148</span>
+ <pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 3183</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
,
<span class="ruby-value">name:</span><span class="ruby-keyword">nil</span> \
,
@@ -374,10 +374,10 @@
<div class="method-source-code" id="to_json-source">
- <pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 3205</span>
+ <pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 3240</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
<span class="ruby-identifier">hash</span> = {}
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">var</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">hash</span>[<span class="ruby-identifier">var</span>.<span class="ruby-identifier">id2name</span>.<span class="ruby-identifier">delete_prefix</span>(<span class="ruby-string">'@'</span>)] = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variable_get</span> <span class="ruby-identifier">var</span>
<span class="ruby-keyword">end</span>