title: Ruby equivalent of Python's "dir"?
body: <p>In Python we can "dir" a module, like this:</p>
  
  <pre><code>&gt;&gt;&gt; import re
  &gt;&gt;&gt; dir(re)
  </code></pre>
  
  <p>And it lists all functions in the module. Is there a similar way to do this in Ruby?</p>