Ruby
Ruby 3.0
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 ofRactor. -
Static typing:
RBSprovides a foundation for allowing programs written in Ruby to define types. Ruby remains a dynamically typed language by default, butRBSacts 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 themeasurecommand. -
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 ›