Does anyone know how to begin using static typing in Ruby 3? I looked here and tried changing the following block in some code, but I’m getting SyntaxError
.
Original:
def pretty(seperator)
...
end
New:
def pretty: (seperator: String) -> String
...
end