Module: RubyProf::DeprecationWarnings

Included in:
RubyProf
Defined in:
lib/ruby-prof.rb

Instance Method Summary collapse

Instance Method Details

#deprecation_warning(feature, recommendation = nil) ⇒ Object



13
14
15
16
# File 'lib/ruby-prof.rb', line 13

def deprecation_warning(feature, recommendation = nil)
  $stderr.puts "DEPRECATION WARNING: #{feature}"
  $stderr.puts recommendation unless recommendation.nil?
end