ss="ruby-ivar">@weight</span> = <span class="ruby-ivar">@xml_doc</span>.<span class="ruby-identifier">root</span>.<span class="ruby-identifier">attributes</span>[<span class="ruby-value str">&quot;weight&quot;</span>]
    <span class="ruby-ivar">@bats</span> = <span class="ruby-ivar">@xml_doc</span>.<span class="ruby-identifier">root</span>.<span class="ruby-identifier">attributes</span>[<span class="ruby-value str">&quot;bats&quot;</span>]
    <span class="ruby-ivar">@throws</span> = <span class="ruby-iv