There is a crash that occurs at least with Cucumber tests in a code like
Then("{string}") do |string|
expect(foo).to include string
end
that is caused by kdev-ruby to recognize include function as a mixin insert rather than a method.
This commit makes the crash disappear, but I don’t know kdev-ruby (nor kdevplatform’s API) well, so there may be some better solution to this problem. Please say if there is something I should do differently.