I'm trying to develop a Redmine Plugin, I started reading the documentation, and learning a lot of Ruby and a lot of Ruby on Rails. (I'm a PHP/Python/js guy)
Then I started looking through other plugins, and I found this code. I can't find enough information to fully understand how this line of code works:
Issue.send(:include, RedmineRequireIssueAllowedToChangeAssignee::Patches::IssuePatch)
I understand that inside IssuePatch are some things to override or add to Issue class.
Then I found this, explaining the use of send, and that confuses me, why not use just Issue.include?
The main question would be: where is this method include
defined and what does it does?
UPDATE: related question