Class: Nitpick::ArgumentNitpicker

Class | Nitpick::ArgumentNitpicker
In: | lib/nitpick/argument_nitpicker.rb
Parent: | LocalVariableCounter

### Methods

nitpick! process_zsuper

### Public Instance methods

nitpick!()

[Source]

    # File lib/nitpick/argument_nitpicker.rb, line 3
        def nitpick!
          @silence_warnings = false
          super
          return if @silence_warnings

          @lvars.each do |name, details|
            next if details[:calls] > 0
            next if details[:uses] >= 2
            next if !@args.include?(name)
            warn Warnings::UnusedArgument.new(name)
          end
        end

process_zsuper(exp)

[Source]

    # File lib/nitpick/argument_nitpicker.rb, line 16
        def process_zsuper(exp)
          @silence_warnings = true
          s(:zsuper)
        end

[Validate]