I am trying to develop a Redmine Plugin, I started reading the documentation , as well as a lot of learning Ruby and a lot of Ruby on Rails. (I'm a PHP / Python / js guy)
Then I started looking at other plugins and I found this code . I cannot find enough information to fully understand how this line of code works:
Issue.send(:include, RedmineRequireIssueAllowedToChangeAssignee::Patches::IssuePatch)
I understand that there are some things inside IssuePatch to override or add an Issue class.
Then I found this , explaining the use of dispatch, and it bothers me, why not use only Issue.include?
The main question is: where is this include method defined and what does it do?
UPDATE: related question
source share