title: Can I add class methods and instance methods from the same module?
body: <p>Newbie question:</p>
  
  <p>I know how include and extend work, what I am wondering is if there is a way to get both class and instance methods from a single module?</p>
  
  <p>This is how I do it with two modules:</p>
  
  <pre><code>module InstanceMethods
      def mod1
          "mod1"
      end
  end
  
  module ClassMethods
      def mod2
          "mod2"
      end
  end
  
  class Testing
      include InstanceMethods
      extend ClassMethods 
  end
  
  t = Testing.new
  puts t.mod1
  puts Testing::mod2
  </code></pre>
  
  <p>Thanks for taking your time ...</p>