Instead of using the range slice, I think `method_name.to_s.chomp '='` is more clear.