Class: Waterpig::WarningSuppressor

Inherits:
Object
  • Object
show all
Defined in:
lib/waterpig/warning-suppressor.rb

Class Method Summary collapse

Class Method Details

.write(message) ⇒ Object


4
5
6
# File 'lib/waterpig/warning-suppressor.rb', line 4

def write(message)
  if message =~ /QFont::setPixelSize: Pixel size <= 0/ || message =~/CoreText performance note:/ then 0 else puts(message);1;end
end