18F/micropurchase

View on GitHub
lib/swagger/reference.rb

Summary

Maintainability
A
0 mins
Test Coverage

Method Swagger::Reference#name is defined at both lib/swagger/reference.rb:3 and lib/swagger/reference.rb:28.
Open

  def name
Severity: Minor
Found in lib/swagger/reference.rb by rubocop

This cop checks for duplicated instance (or singleton) method definitions.

Example:

# bad

def duplicated
  1
end

def duplicated
  2
end

Example:

# bad

def duplicated
  1
end

alias duplicated other_duplicated

Example:

# good

def duplicated
  1
end

def other_duplicated
  2
end

There are no issues that match your filters.

Category
Status