handle_message
, they are supported directly.handle_message
method would look like this:Green
match arm is automatically selected since it is the 3rd match expression (Line 5) specified in handle_message
. Similarly, the user could still reply with "green" directly and that will also match the 3rd match expression (Line 5).Xip::Errors::UnrecognizedMessage
exception.