Skip to content

Commit

Permalink
Fixing style errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jagdish-15 committed Nov 9, 2024
1 parent f5f7680 commit f6ae1f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/practice/bob/.approaches/method-based/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The main `hey` method determines Bob’s response by delegating each condition t

This approach simplifies the main method `hey` by breaking down each response condition into helper methods:

1. **Trimming the Input**:
1. **Trimming the Input**:
The `input` is trimmed using the `String` [`trim()`][trim] method to remove any leading or trailing whitespace. This helps to accurately detect if the input is empty and should prompt a `"Fine. Be that way!"` response.

2. **Delegating to Helper Methods**:
Expand Down

0 comments on commit f6ae1f1

Please sign in to comment.