# File lib/sugar-high/methods.rb, line 2
  def get_methods *types
    types.inject([]) do |list, type|
      list << case type
      when :all
        get_methods(:private, :protected, :public)
      when :private, :protected, :public
        send "#{type}_methods""#{type}_methods"
      end
      list.flatten
    end.flatten.uniq
  end