Class: Nitpick::Warnings::SimpleWarning

Class | Nitpick::Warnings::SimpleWarning
In: | lib/nitpick/warnings/simple_warning.rb
Parent: | Object

### Methods

== discover matches? message

### Public Class methods

discover(args = [])

[Source]

    # File lib/nitpick/warnings/simple_warning.rb, line 4
          def self.discover(args = [])
            warning = new(*args)
            warning if warning.matches?
          end

### Public Instance methods

==(other)

[Source]

    # File lib/nitpick/warnings/simple_warning.rb, line 13
          def ==(other)
            other.is_a? self.class
          end

matches?()

[Source]

    # File lib/nitpick/warnings/simple_warning.rb, line 9
          def matches?
            false
          end

message()

[Source]

    # File lib/nitpick/warnings/simple_warning.rb, line 17
          def message
            raise NotImplementedError
          end

[Validate]