title: How to get a detailed list of methods defined in a Ruby class via the command line?
body: <p>I am looking for a way to generate a list of all methods within a Ruby Class, similar to a C Header File. I want this so that I can see an overview of the class without using IDE code folding to collapse everything.</p>
  <p>Preferably this would be a *nix command line function so that I can further process this using other command line tools.</p>
  <p>Output would be something like</p>
  <pre class="lang-rb prettyprint-override"><code>def foo( a, b, c )
  def bar
  def baz( d )
  </code></pre>
  <p>Similar to <a href="https://stackoverflow.com/questions/8595184/how-to-list-all-methods-for-an-object-in-ruby">this question</a> except I am looking for a list that includes parameters and I would like to output to the command line so that it can be further processed. The goal is to have this list viewable while I am working so I want it to be readable at a glance.</p>