Welcome to CrackedRuby! This is your first drill to get familiar with the platform. You'll write a simple Ruby method that returns a greeting message.
greet method in main.rbUse the `capitalize` method to ensure the first letter is uppercase and the rest lowercase
Remember to check if name is `nil` before processing it
String concatenation with + or string interpolation with both work
The default parameter syntax is `name = nil` in the method signature
puts greet
Hello, World!
puts greet('alice')
Hello, Alice!
puts greet('rUBy')
Hello, Ruby!
puts greet('CHARLIE')
Hello, Charlie!
Console output will appear here...
Are you sure?
You're making great progress