
      <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create</span>
        <span class="ruby-identifier">title</span> = <span class="ruby-constant">MenuItem</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">'Edit'</span>)
        <span class="ruby-identifier">title</span>.<span class="ruby-identifier">submenu</span> = <span class="ruby-identifier">menu</span>
        <span class="ruby-identifier">add_item</span>(<span class="ruby-value str">'Copy'</span>, 