lib/tasks/setup.rake
Complex method namespace(setup)::task#admin (25.3) Open
Open
task admin: :environment do
nick = ENV["user"] || begin
puts "Username:"
STDIN.gets.strip
end
- Read upRead up
- Exclude checks
Flog calculates the ABC score for methods. The ABC score is based on assignments, branches (method calls), and conditions.
You can read more about ABC metrics or the flog tool