Sha256: 29fbf821359186f8ef2cafd9ba53b756a148841f393f45a7944512dffe75e868

Contents?: true

Size: 144 Bytes

Versions: 2

Compression:

Stored size: 144 Bytes

Contents

module Warning
  KERNEL_WARN = Kernel.instance_method(:warn).bind(self)

  def warn(*args)
    KERNEL_WARN.call(*args)
  end

  extend self
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
structured_warnings-0.4.0 lib/warning.rb
structured_warnings-0.3.0 lib/warning.rb