Pushing a Ruby warning when overriding String#each, but only worrying about it pre-1.9
[stringray.git] / lib / stringray / core_ext / kernel.rb
blob321a8a8609ade2dc2a1f466f8f3b284240644bba
1 module Kernel
2   def self.warn message
3     super "#{caller[-1]}: warning: #{message}"
4   end
5 end