Module: ComplexityCheckerRuby::Alerts

Defined in:
lib/complexity_checker_ruby/alerts.rb

Class Method Summary collapse

Class Method Details

.notify(method_name, duration) ⇒ Object



3
4
5
# File 'lib/complexity_checker_ruby/alerts.rb', line 3

def self.notify(method_name, duration)
  puts "Alert: Method '#{method_name}' took #{duration.round(4)} seconds, which may indicate high time complexity."
end