Ruby on Rails の意味不明な黒魔術を問題視するシリーズ。 問題: 次のメソッド定義において、(*1) や (*2) や (*3) は何をしているんでしょう? module ActiveRecord module ConnectionAdapters class PostgreSQLColumn < Column private ... # Escapes binary strings for bytea input to the database. def self.string_to_binary(value) if PGconn.respond_to?(:escape_bytea) self.class.module_eval do # (*1) define_method(:string_to_binary) do |value| PGconn.escape_bytea(