Re: wrapping class method

def self.establish_connection(arg)
  logger.debug("Establishing connection")
  self.old_establish_connection(arg)
end

end
end

Yes, that’s exactly it. And it even clarifies the class << self idiom
that I’ve been curious about to some extent. Thanks!

Erik’s metameta library looks more elegant, but also more complicated
than I’m able to understand yet. I’m trying to restrict myself to using
constructs I understand completely.

  • donald