Class: Cop::Lint::AssignmentInCondition

Inherits:
Object
  • Object
show all
Defined in:
lib/standard/rubocop/ext.rb

Instance Method Summary collapse

Instance Method Details

#message(_) ⇒ Object



4
5
6
# File 'lib/standard/rubocop/ext.rb', line 4

def message(_)
  "Wrap assignment in parentheses if intentional"
end