ruby: assignments to endwise pattern don't break completion

Methods added before an assignment to an endwise pattern where not
completed:

```ruby
def new_method
  # no "end" added

k = case n
  when 1 then :result_1
  when 2 then :result_2
end
```

I added `\(.*=\)\?` to the endwise pattern to match this assignment.