alphagov/whitehall — pull request #858 by layam (2013-09-16 14:05:57+00:00)
Title: Changes some methods defined with 'define_method' in Edition concerns to be normal module methods.

This pattern:

included do
#something else
define_method :some_method do |blah|
blah.something
end
end

has been replaced with this pattern:

included do
#something else.
end

def some_method(blah)
blah.something
end

Except in a couple of cases where it was necessary to declare the method at class level for precedence reasons.