replace deprecated method

pull/6827/head
Jens Ulferts 8 years ago
parent 058ff459d5
commit 8d91716358
No known key found for this signature in database
GPG Key ID: 3CAA4B1182CF5308
  1. 2
      lib/report/query_utils.rb

@ -37,7 +37,7 @@ module Report::QueryUtils
end
def propagate!(to = engine)
to.local_constants.each do |name|
to.constants(false).each do |name|
const = to.const_get name
next unless Module === const
append_features const unless const <= self or not const < Report::QueryUtils

Loading…
Cancel
Save