Fedora 34 provides Ruby 3.0, the latest version of the Ruby language. Notable features of Ruby 3.0, compared to previous versions:
The ability to run concurrently is updated with regards to Ruby 2.7, with
Fiber Schedulerand the preliminary addition of
RBSprovides a foundation for allowing programs written in Ruby to define types. Ruby remains a dynamically typed language by default, but
RBSacts as an additional (foundation) layer of a program to provide static type functionality and gain some of the benefits of a statically typed language.
IRBgains some performance advantages: it is quicker, and now one can measure the execution time using the
Standard libraries are updated.
Pattern matching is now a stable feature.
See the release notes for more information.
Want to help? Learn how to contribute to Fedora Docs ›