Parent

Included Modules

Files

Class/Module Index [+]

Quicksearch

RuboCop::Cop::Lint::UselessSetterCall

This cop checks for setter call to local variable as the final expression of a function definition.

@example

def something
  x = Something.new
  x.attr = 5
end

Constants

ASSIGNMENT_TYPES
MSG

[Validate]

Generated with the Darkfish Rdoc Generator 2.