lib/lita/handlers/karma/chat.rb
Method define_dynamic_routes
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def define_dynamic_routes(pattern)
self.class.route(
%r{(#{pattern})\+\+#{token_terminator.source}},
:increment,
help: { t("help.increment_key") => t("help.increment_value") }
Method define_static_routes
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def define_static_routes
self.class.route(
%r{^karma\s+worst},
:list_worst,
command: true,