Module: Simple::SQL::MonkeyPatches

Defined in:
lib/simple/sql/monkey_patches.rb

Overview

This file contains some monkey patches

Class Method Summary collapse

Class Method Details

.warn(msg) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/simple/sql/monkey_patches.rb', line 4

def self.warn(msg)
  @@warned ||= {}
  return if @@warned[msg]

  @@warned[msg] = true

  STDERR.puts "== monkeypatch warning: #{msg}"
end