Merge pull request #442 from jonas054/fix_some_ranges

Fix some ranges
Accept setting attribute on method argument in UselessAssignment

This fixes #438.
Merge pull request #443 from yujinakayama/fix-useless-assignment

Accept setting attribute on method argument in UselessAssignment