2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-07 12:02:53 +08:00

DEV: Prefer public_send over send.

This commit is contained in:
Guo Xiang Tan 2019-05-07 09:27:05 +08:00
parent 9be70a22cd
commit 152238b4cf
74 changed files with 216 additions and 129 deletions

View file

@ -46,7 +46,7 @@ class ImportScripts::Jive < ImportScripts::Base
def initialize(cols)
cols.each_with_index do |col, idx|
self.class.send(:define_method, col) do
self.class.public_send(:define_method, col) do
@row[idx]
end
end