">obj_content_type</span> = <span class="ruby-keyword">case</span>
                         <span class="ruby-keyword">when</span> <span class="ruby-identifier">obj</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-value">:content_type</span>) <span class="ruby-keyword">then</span> <span class="ruby-identifier">obj</span>.<span class="ruby-identifier">content_type</span>
                         <span class="ruby-keyword">when</span> <span class="ruby-keyword">defined?</span>(<span c