def apply_to_methods
      # If method/methods option is set and all are String or Symbol, apply to those only, instead of
      # iterating through all methods
      methods = [@options[:method] || @options[:methods]]
      methods.compact!
      methods.flatten!

      if !methods.empty? && methods.all?{ |method| method.is_a?(String) || method.is_a?(Symbol) }
        methods.each do |method|
          apply_to_method(method.to_s)
        end

        return
      end

      context.public_instance_methods.each do |method|
        apply_to_method(method.to_s)
      end

      context.protected_instance_methods.each do |method|
        apply_to_method(method.to_s)
      end

      if @options[:private_methods]
        context.private_instance_methods.each do |method|
          apply_to_method(method.to_s)
        end
      end
    end
def apply_to_methods
      # If method/methods option is set and all are String or Symbol, apply to those only, instead of
      # iterating through all methods
      methods = [@options[:method] || @options[:methods]]
      methods.compact!
      methods.flatten!

      if !methods.empty? && methods.all?{ |method| method.is_a?(String) || method.is_a?(Symbol) }
        methods.each do |method|
          apply_to_method(method.to_s)
        end

        return
      end

      context.public_instance_methods.each do |method|
        apply_to_method(method.to_s)
      end

      context.protected_instance_methods.each do |method|
        apply_to_method(method.to_s)
      end

      if @options[:private_methods]
        context.private_instance_methods.each do |method|
          apply_to_method(method.to_s)
        end
      end
    end
Will apply all the advices to all methods that match