title: Ruby module method not found
body: <p>I have a Rubygem which contains the following:</p>
  
  <pre><code>module BoardGameGem
      API_ROOT = "https://www.boardgamegeek.com/xmlapi2"
      MAX_ATTEMPTS = 10
  
      def BoardGameGem.get_item(id, statistics = false, options = {})
          options[:id] = id
          options[:stats] = statistics ? 1 : 0
          item = BGGItem.new(BoardGameGem.request_xml("thing", options))
          return item.id == 0 ? nil : item
      end
  
      def BoardGameGem.get_items(ids, statistics = false, options = {})
          options[:id] = ids.join(",")
          options[:stats] = statistics ? 1 : 0
          item_xml = BoardGameGem.request_xml("thing", options)
          item_list = []
          item_xml.css("item").wrap("&lt;item_data&gt;&lt;/item_data&gt;")
          item_xml.css("item_data").each do |item_data|
              item_list.push(BGGItem.new(item_data))
          end
          item_list
      end
  
      ...
  </code></pre>
  
  <p>When I try to use the gem from my Rails application with <code>BoardGameGem.get_items(id_list, true)</code>, I get the response:</p>
  
  <pre><code>undefined method `get_items' for BoardGameGem:Module Did you mean? get_item
  </code></pre>
  
  <p><code>Gem.loaded_specs["board-game-gem"].version</code> gives the correct version number, and using <code>module_function</code> did not solve the problem either. <code>BoardGameGem.methods</code> shows that the method, in fact, doesn't exist. I can't figure out what might be causing the method to not show up.</p>