I believe Matz has said that it is on the agenda for Ruby 3.0: that it will have static typing and that it will be optional.